Skip to main content
Pie
ra0

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCanvas.Ellipse(TRect) Method

Draws an ellipse or circle on the canvas.

#Declaration

Delphi
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