createShape method
- @protected
- CGMDisplay display,
- double centerFirstDistance,
- double centerSecondDistance
Implementation
@protected
CGMPath createShape(CGMDisplay display, double centerFirstDistance, double centerSecondDistance) {
return display.canvas.createPath()
..addOval(
center: Vector2(
-centerFirstDistance,
-centerSecondDistance,
),
radii: Vector2(
centerFirstDistance * 2,
centerSecondDistance * 2,
),
);
}