Show: Delphi C++
Display Preferences

FMX.Graphics.TCanvas.FillArc

From RAD Studio API Documentation
Jump to: navigation, search

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.x defines the x-semi-axis.
  • Radius.y defines 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.

DrawArc.png

The AOpacity parameter specifies the transparency of the Fill color.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance