HTMLCanvasElement
inherits from HTMLElement
. captureStream() | |
getContext() | Returns the drawing context on the canvas. Possible values for the first parameter (contextType ) are: 2d returns a CanvasRenderingContext2D , webgl a WebGLRenderingContext , webgl2 a WebGL2RenderingContext , webgpu a GPUCanvasContext , bitmaprenderer a ImageBitmapRenderingContext object. |
height | |
mozOpaque | Non-standard, Deprecated |
toBlob() | |
toDataURL() | |
transferControlToOffscreen() | |
width |
contextlost | Experimental |
contextrestored | Experimental |
webglcontextcreationerror | |
webglcontextlost | |
webglcontextrestored |
<canvas>
element.