FMX.Graphics.TCanvas.DrawEllipse

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawEllipse(const ARect: TRectF; const AOpacity: Single); overload;
procedure DrawEllipse(const ARect: TRectF; const AOpacity: Single; const ABrush: TStrokeBrush); overload;

C++

void __fastcall DrawEllipse(const System::Types::TRectF &ARect, const float AOpacity)/* overload */;
void __fastcall DrawEllipse(const System::Types::TRectF &ARect, const float AOpacity, TStrokeBrush* const ABrush)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TCanvas

Description

Draws an ellipse defined by a bounding rectangle structure on the current TCanvas.

DrawEllipse is implemented by the TCanvas descendants to draw an ellipse defined by a bounding rectangle structure, with the current Stroke.

The ARect parameter specifies the structure that defines the boundaries of the ellipse.

The AOpacity parameter specifies the transparency of the Stroke color.

To customize the drawing pen, use the Stroke, StrokeThickness, StrokeCap, StrokeDash, and StrokeJoin properties.

See Also

Code Examples