Skip to main content

GraphicsCache.DrawEllipse(Pen, Rectangle) Method

Draws an ellipse specified by a bounding Rectangle structure.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public void DrawEllipse(
    Pen pen,
    Rectangle rect
)

Parameters

Name Type Description
pen Pen

A Pen object that specifies the ellipse color, style and line thickness.

rect Rectangle

A Rectangle structure that defines the ellipse boundaries.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DrawEllipse(Pen, Rectangle) 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