FMX.Graphics.TCanvas.DrawEllipse
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, Thickness, Cap, Dash , and Join properties.
See Also
- FMX.Graphics.TCanvas.DrawBitmap
- FMX.Graphics.TCanvas.DrawArc
- FMX.Graphics.TCanvas.DrawLine
- FMX.Graphics.TCanvas.DrawPath
- FMX.Graphics.TCanvas.DrawPolygon
- FMX.Graphics.TCanvas.DrawRect
- FMX.Graphics.TCanvas.DrawRectSides
- FMX.Graphics.TCanvas.FillEllipse
- FMX.Graphics.TCanvas.Stroke
- FMX.Graphics.TStrokeBrush.Cap
- FMX.Graphics.TStrokeBrush.Dash
- FMX.Graphics.TStrokeBrush.Join
- FMX.Graphics.TStrokeBrush.Thickness
- FMX.Graphics.TPathData