Skip to main content
Table of Contents

TTMSFNCGraphicsContext.FillArc Method

Fills an arc sector using AFill settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

FMX.TMSFNCGraphics.hppPascalC++
procedure FillArc(AFill: TTMSFNCGraphicsFill; ACenter, ARadius: TPointF; AStartAngle, ASweepAngle: Single); virtual; abstract;
virtual void __fastcall FillArc(TTMSFNCGraphicsFill* AFill, const System::Types::TPointF &ACenter, const System::Types::TPointF &ARadius, float AStartAngle, float ASweepAngle) = 0;

Parameters

Name Description
AFill Fill settings (color, kind, gradient) to apply.
ACenter Center point of the defining ellipse.
ARadius Horizontal and vertical radii of the defining ellipse.
AStartAngle Start angle in degrees, measured clockwise from the 3 o'clock position.
ASweepAngle Angular extent in degrees; positive values sweep clockwise.