drawPathEllipticArcAbsolute method
void
drawPathEllipticArcAbsolute({})
DrawPathEllipticArcAbsolute() draws an elliptical arc from the current point to (x, y) using absolute coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.
rx
x radiusry
y radiusxAxisRotation
indicates how the ellipse as a whole is rotated relative to the current coordinate systemlargeArcFlag
If true then draw the larger of the available arcssweepFlag
If true then draw the arc matching a clock-wise rotation
Implementation
void drawPathEllipticArcAbsolute({
required double rx,
required double ry,
required double xAxisRotation,
required bool largeArcFlag,
required bool sweepFlag,
required double x,
required double y,
}) =>
_magickWandBindings.DrawPathEllipticArcAbsolute(
_wandPtr,
rx,
ry,
xAxisRotation,
largeArcFlag.toInt(),
sweepFlag.toInt(),
x,
y,
);