writePath method

void writePath(
  1. Path into,
  2. double progress,
  3. Size size
)

Writes the shape at progress in the unit square scaled to size (Compose's Morph.toPath, start angle 0) into into, replacing its contents. into belongs to the caller: keep one per clipper or painter and reuse it every frame.

Implementation

void writePath(Path into, double progress, Size size) =>
    _morph.writePath(into, progress, scaleX: size.width, scaleY: size.height);