paintFlare method

  1. @override
void paintFlare(
  1. Canvas canvas,
  2. Mat2D viewTransform
)
inherited

Implementation

@override
void paintFlare(Canvas canvas, Mat2D viewTransform) {
  if (_actor == null) {
    return;
  }
  if (!Mat2D.areEqual(_lastControllerViewTransform, viewTransform)) {
    Mat2D.copy(_lastControllerViewTransform, viewTransform);
    controller?.setViewTransform(viewTransform);
  }

  _artboard.draw(canvas);
}