setup method

  1. @override
void setup(
  1. AbstractDisplay display
)
override

Implementation

@override
void setup(AbstractDisplay display) {
  super.setup(display);
  ctx = (display as Canvas2DDisplay).canvas.context2D;
}