Skip to main content

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

GraphicsCache.DrawEllipse(Single, Single, Single, Single, Color, Int32) Method

In This Article

Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a height, and a width.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

public void DrawEllipse(
    float x,
    float y,
    float width,
    float height,
    Color color,
    int penWidth
)

#Parameters

Name Type Description
x Single

A Single value that is the x-coordinate of the bounding rectangle’s upper-left corner.

y Single

A Single value that is the y-coordinate of the bounding rectangle’s upper-left corner.

width Single

A Single value that is the bounding rectangle width.

height Single

A Single value that is the bounding rectangle height.

color Color

An ellipse color.

penWidth Int32

An Int32 value that specifies the ellipse line thickness.

See Also