context2D property

CanvasRenderingContext2D get context2D

An API for drawing on this canvas.

Implementation

CanvasRenderingContext2D get context2D =>
    JS('Null|CanvasRenderingContext2D', '#.getContext(#)', this, '2d');