ellipse method
Shape
ellipse(
- double aX,
- double aY,
- double xRadius,
- double yRadius,
- double aStartAngle,
- double aEndAngle, [
- bool? aClockwise,
- double? aRotation,
override
aX
, aY
-- The center of the ellipse offset from the last call.
xRadius
-- The radius of the ellipse in the x axis.
yRadius
-- The radius of the ellipse in the y axis.
aStartAngle
-- The start angle in radians.
aEndAngle
-- The end angle in radians.
aClockwise
-- Sweep the ellipse clockwise. Defaults to false
.
aRotation
-- The rotation angle of the ellipse in radians, counterclockwise
from the positive X axis. Optional, defaults to 0
.
Adds an EllipseCurve to the path, positioned relative to currentPoint.
Implementation
@override
Shape ellipse(double aX, double aY, double xRadius, double yRadius, double aStartAngle, double aEndAngle, [bool? aClockwise, double? aRotation]) {
super.ellipse(aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation);
return this;
}