Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Draw a single arc segment.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.AddPathArcAbs"; ImageRef; radiusX; radiusY; xAxisRotation; largeArcFlag; sweepFlag; x; y )   More


Parameter Description Example
ImageRef The image reference number. 1
radiusX The radius in x direction. 100
radiusY The radius in y direction. 100
xAxisRotation The rotation value. 0
largeArcFlag Pass 1 or 0 to decide if you want to draw larger arcs. 0
sweepFlag Whether to draw the arc matching a clock-wise rotation. 0
x The x coordinate. 10
y The y coordinate. 10


Returns OK or error.


Draw a single arc segment.
Draws an elliptical arc from the current point to (x, y). The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) 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 automatically 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 1 then draw the larger of the available arcs. If sweepFlag is 1, then draw the arc matching a clock-wise rotation.
With absolute coordinate.

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014

GMImage.AddNoiseChannel - GMImage.AddPathArcRel