EllipseCurve constructor
EllipseCurve(
- dynamic aX,
- dynamic aY,
- dynamic xRadius,
- dynamic yRadius, [
- dynamic aStartAngle,
- dynamic aEndAngle,
- dynamic aClockwise,
- dynamic aRotation,
Implementation
@override
EllipseCurve(
aX,
aY,
xRadius,
yRadius, [
aStartAngle,
aEndAngle,
aClockwise,
aRotation,
]) {
type = 'EllipseCurve';
isEllipseCurve = true;
this.aX = aX ?? 0;
this.aY = aY ?? 0;
this.xRadius = xRadius ?? 1;
this.yRadius = yRadius ?? 1;
this.aStartAngle = aStartAngle ?? 0;
this.aEndAngle = aEndAngle ?? 2 * Math.pi;
this.aClockwise = aClockwise ?? false;
this.aRotation = aRotation ?? 0;
}