Skip to main content
Pie
ra0

TcxCanvas.Ellipse(TRect) Method

Draws an ellipse or circle on the canvas.

Declaration

procedure Ellipse(const Rect: TRect); overload;

Parameters

Name Type
Rect TRect

Remarks

Call either of these overloaded procedure variants to draw an ellipse defined by its bounding rectangle. If the specified bounding rectangle is a square, the Ellipse procedures draw a circle.

The first overloaded variant accepts the coordinates of the bounding rectangle’s left-top and right-bottom corners as the X1, Y1, X2, and Y2 parameters. The second variant accepts the bounding rectangle as the Rect parameter.

Note

The Ellipse procedures call the Ellipse procedure for the underlying canvas.

See Also