CanvasRenderingContext2D constructor

CanvasRenderingContext2D(
  1. CanvasElement canvas
)

Implementation

CanvasRenderingContext2D(this.canvas) : _pointer = malloc.allocate<NativeCanvasRenderingContext2D>(
    sizeOf<NativeCanvasRenderingContext2D>()), super();