Skip to main content

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

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.v23.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