API:Vcl.Direct2D.TDirect2DCanvas.Ellipse
Delphi
procedure Ellipse(X1, Y1, X2, Y2: Integer); override;
C++
virtual void __fastcall Ellipse(int X1, int Y1, int X2, int Y2)/* overload */;
inline void __fastcall Ellipse(const System::Types::TRect &Rect){ Vcl::Graphics::TCustomCanvas::Ellipse(Rect); }
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | Vcl.Direct2D.pas Vcl.Direct2D.hpp |
Vcl.Direct2D | TDirect2DCanvas |
Description
Draws the ellipse defined by a bounding rectangle on the canvas.
Vcl.Direct2D.TDirect2DCanvas.Ellipse inherits from Vcl.Graphics.TCustomCanvas.Ellipse. All content below this line refers to Vcl.Graphics.TCustomCanvas.Ellipse.
Draws the ellipse defined by a bounding rectangle on the canvas.
Override the Ellipse method to implement drawing a circle or ellipse on the canvas. Specify the bounding rectangle either by giving:
- The top left point at pixel coordinates (X1, Y1) and the bottom right point at (X2, Y2).
- A TRect value.
If the bounding rectangle is a square, a circle is drawn.