Skip to main content
All docs
V23.2

DXGraphics.DrawEllipse(DXPen, RectangleF) Method

Draws an ellipse in the specified rectangle.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v23.2.dll

NuGet Package: DevExpress.Drawing

Declaration

public void DrawEllipse(
    DXPen pen,
    RectangleF rect
)

Parameters

Name Type Description
pen DXPen

An object that determines the color, width, and style of the ellipse.

rect RectangleF

The rectangle that defines the ellipsis bounds.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DrawEllipse(DXPen, RectangleF) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also