UI Components and Canvas Context

Is it possible to draw HTML UI Components onto a Canvas (2D) context ?

I would like to render, buttons, listboxes, text input controls onto a 2D Canvas Context.

Answers


This isn't possible using standard HTML elements. The canvas element is only used to render raster images. You can however emulate this behavior using canvas, but then you are required to keep track of everything such as the mouse position, states and events.


Need Your Help

Logo recognition in images

machine-learning computer-vision image-recognition

Does anyone know of recent academic work which has been done on logo recognition in images?

Border-Image Outside of the Box-Model

css html5 border css3

I'm currently working on a portfolio project and I have a concept for the header but I am having difficult achieving it.