Draws an arc on the canvas.
The arc is created as a path containing the part of an ellipse contour. DrawArc draws this path on the current canvas with the current pen specified by the
Stroke/ Pen property.
Namespace: RSGdiPlusGraphics
Delphi |
public |
Parameters
Center
Type: TPointF
Specifies the center of the ellipse.
Radius
Type: TPointF
The coordinates of the Radius parameter specify the semi-axes of the parent ellipse:
Radius.x defines the x-semi-axis.
Radius.y defines the y-semi-axis.
StartAngle
Type: Single
Specifies the angle, in degrees, measured clockwise, from the x-axis to the line passing through the Center point of the ellipse and intersects the ellipse in the starting point of the arc.
SweepAngle
Type: Single
Specifies the angle, in degrees, measured clockwise, from the StartAngle parameter to the line passing through the Center point of the ellipse and intersects the ellipse in the ending point of the arc.
AOpacity
Type: Single
Specifies the transparency of the stroke color.