PaintingContextCallback typedef

void PaintingContextCallback (
  1. PaintingContext context,
  2. Offset offset
)

Signature for painting into a PaintingContext.

The offset argument is the offset from the origin of the coordinate system of the PaintingContext.canvas to the coordinate system of the callee.

Used by many of the methods of PaintingContext.

Implementation

typedef PaintingContextCallback = void Function(PaintingContext context, Offset offset);