FMX.Graphics.TCanvas.FillArc
Delphi
procedure FillArc(const Center, Radius: TPointF; StartAngle, SweepAngle: Single; const AOpacity: Single); overload;
procedure FillArc(const Center, Radius: TPointF; StartAngle, SweepAngle: Single; const AOpacity: Single; const ABrush: TBrush); overload;
C++
void __fastcall FillArc(const System::Types::TPointF &Center, const System::Types::TPointF &Radius, float StartAngle, float SweepAngle, const float AOpacity)/* overload */;
void __fastcall FillArc(const System::Types::TPointF &Center, const System::Types::TPointF &Radius, float StartAngle, float SweepAngle, const float AOpacity, TBrush* const ABrush)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TCanvas |
Description
Fills an arc on the TCanvas.
The arc is created as a path containing the part of an ellipse contour. FillArc fills this path on the current TCanvas with the current brush specified by the Fill property.
The Center parameter specifies the center of the ellipse.
The coordinates of the Radius parameter specify the semi-axes of the parent ellipse:
Radius.xdefines the x-semi-axis.Radius.ydefines the y-semi-axis.
StartAngle 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 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.
The AOpacity parameter specifies the transparency of the Fill color.
See Also
- FMX.Graphics.TCanvas.FillEllipse
- FMX.Graphics.TCanvas.FillPath
- FMX.Graphics.TCanvas.FillPolygon
- FMX.Graphics.TCanvas.FillRect
- FMX.Graphics.TCanvas.FillText
- FMX.Graphics.TCanvas.DrawArc
- FMX.Graphics.TCanvas.Fill
- FMX.Graphics.TPathData
