ShapePathBuilder typedef

ShapePathBuilder = DiagramVectorPath Function(DiagramSize size, Map<String, Object?> values)

Builds a contour in shape-local units, from (0, 0) to the frame size, from the shape's values. Features such as caps and insets can keep their size while the frame grows.

Implementation

typedef ShapePathBuilder = DiagramVectorPath Function(
  DiagramSize size,
  Map<String, Object?> values,
);