Skip to main content
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.

FMX.TMSFNCGraphics.hppPascalC++
procedure DrawArc(const Center, Radius: TPointF; StartAngle, SweepAngle: Single); overload; virtual;
virtual void __fastcall DrawArc(const System::Types::TPointF &Center, const System::Types::TPointF &Radius, float StartAngle, float SweepAngle)/* overload */;

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.

FMX.TMSFNCGraphics.hppPascalC++
procedure DrawArc(const Center, Radius: TPoint; StartAngle, SweepAngle: Integer); overload; virtual;
virtual void __fastcall DrawArc(const System::Types::TPoint &Center, const System::Types::TPoint &Radius, int StartAngle, int SweepAngle)/* overload */;

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.