paint abstract method

void paint(
  1. Canvas canvas,
  2. Offset screenOffset,
  3. Offset canvasOffset,
  4. double scale,
  5. Size canvasSize,
)

draw the backround on this context. Implement this to have different kinds of backgrounds screenOffset is the screen space offset for clipping canvasOffset is the grid space offset from the controller

Implementation

void paint(
  Canvas canvas,
  Offset screenOffset,
  Offset canvasOffset,
  double scale,
  Size canvasSize,
);