Experimental AdvancedOptional ExperimentalcaptureCaptures the current rendered pixels of element into an immutable ElementImage.
Optional ExperimentalrequestRequests a paint event so the canvas re-snapshots its layoutsubtree children.
Experimental
The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported, or the canvas has already been set to a different context mode.
Optionaloptions: CanvasRenderingContext2DSettingsExperimental
Optionaloptions: ImageBitmapRenderingContextSettingsExperimental
Optionaloptions: WebGLContextAttributesExperimental
Optionaloptions: WebGLContextAttributesExperimental
Optionaloptions: any
An HTMLCanvasElement extended with the experimental HTML-in-Canvas proposal APIs.
These members only exist in browsers that have the HTML-in-Canvas feature enabled, so they are optional. HTMLSource feature-detects
requestPaint; the HTML-in-Canvas API must be enabled for the texture to upload.Example
See
captureElementImage()returns