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 */;
Inhaltsverzeichnis
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TCanvas |
Beschreibung
Zeichnet eine Ellipse, die durch eine umgebende Rechteck-Struktur definiert ist, auf das aktuelle TCanvas-Objekt.
DrawEllipse wird von den TCanvas-Nachkommen implementiert, um eine durch eine umgebende Rechteck-Struktur definierte Ellipse mit dem aktuellen Stroke-Objekt zu zeichnen.
Der Parameter ARect
gibt die Struktur an, die die Grenzen der Ellipse definiert.
Der Parameter AOpacity
gibt die Transparenz der Farbe von Stroke an.
Mit den Eigenschaften Stroke, Thickness, Cap, Dash und Join können Sie den Zeichenstift anpassen.
Siehe auch
- 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