ScenePainter constructor

ScenePainter({
  1. required SceneController controller,
  2. required ImageResolver imageResolver,
  3. SceneStaticLayerCache? staticLayerCache,
  4. SceneTextLayoutCache? textLayoutCache,
  5. SceneStrokePathCache? strokePathCache,
  6. Color selectionColor = const Color(0xFF1565C0),
  7. double selectionStrokeWidth = 1,
  8. double gridStrokeWidth = 1,
})

Implementation

ScenePainter({
  required this.controller,
  required this.imageResolver,
  this.staticLayerCache,
  this.textLayoutCache,
  this.strokePathCache,
  this.selectionColor = const Color(0xFF1565C0),
  this.selectionStrokeWidth = 1,
  this.gridStrokeWidth = 1,
}) : super(repaint: controller);