Implementation
@override
List<PathPoint> get points {
List<PathPoint> _ellipsePathPoints = <PathPoint>[];
_ellipsePathPoints.add(CubicPathPoint.fromValues(
Vec2D.fromValues(0.0, -radiusY),
Vec2D.fromValues(-radiusX * circleConstant, -radiusY),
Vec2D.fromValues(radiusX * circleConstant, -radiusY)));
_ellipsePathPoints.add(CubicPathPoint.fromValues(
Vec2D.fromValues(radiusX, 0.0),
Vec2D.fromValues(radiusX, circleConstant * -radiusY),
Vec2D.fromValues(radiusX, circleConstant * radiusY)));
_ellipsePathPoints.add(CubicPathPoint.fromValues(
Vec2D.fromValues(0.0, radiusY),
Vec2D.fromValues(radiusX * circleConstant, radiusY),
Vec2D.fromValues(-radiusX * circleConstant, radiusY)));
_ellipsePathPoints.add(CubicPathPoint.fromValues(
Vec2D.fromValues(-radiusX, 0.0),
Vec2D.fromValues(-radiusX, radiusY * circleConstant),
Vec2D.fromValues(-radiusX, -radiusY * circleConstant)));
return _ellipsePathPoints;
}