Table of Contents

TTMSFNCGraphics.DrawArc Method

Draws an arc defined by a floating-point center point, radii, start angle, and sweep angle using the current Stroke settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphics

Overloads

Overload 1

Draws an arc defined by a floating-point center point, radii, start angle, and sweep angle using the current Stroke settings.

procedure DrawArc(const Center, Radius: TPointF; StartAngle, SweepAngle: Single); overload; virtual;

Parameters

Name Description
Center Center point of the ellipse that defines the arc.
Radius Horizontal and vertical radii of the ellipse.
StartAngle Angle in degrees at which the arc begins, measured clockwise from the 3 o'clock position.
SweepAngle Angular extent of the arc in degrees; positive values sweep clockwise.

Overload 2

Draws an arc defined by integer center point, radii, start angle, and sweep angle using the current Stroke settings.

procedure DrawArc(const Center, Radius: TPoint; StartAngle, SweepAngle: Integer); overload; virtual;

Parameters

Name Description
Center Center point of the ellipse that defines the arc.
Radius Horizontal and vertical radii of the ellipse.
StartAngle Angle in degrees at which the arc begins, measured clockwise from the 3 o'clock position.
SweepAngle Angular extent of the arc in degrees; positive values sweep clockwise.