canvas property

HTMLCanvasElement get canvas

The CanvasRenderingContext2D.canvas property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context. It might be null if there is no associated canvas element.

Implementation

external HTMLCanvasElement get canvas;