IGraphicsDrawEllipse Method

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

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
C#
void DrawEllipse(
	ColorPen pen,
	float x,
	float y,
	float width,
	float height
)

Parameters

pen  ColorPen
ColorPen that determines the color, width, and style of the ellipse.
x  Single
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
y  Single
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
width  Single
Width of the bounding rectangle that defines the ellipse.
height  Single
Height of the bounding rectangle that defines the ellipse.

See Also