Skip to main content

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

Draws an ellipse defined by a bounding rectangle specified by the rectangle upper-left corner coordinates, a height, and a width.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v26.1.dll

Declaration

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

Parameters

Name Type Description
x Int32

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

y Int32

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

width Int32

An Int32 value that is the bounding rectangle width.

height Int32

An Int32 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