GraphicsDrawEllipse Method (Pen, Single, Single, Single, Single)

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

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.5.0.0 (20.05.0)
Syntax
C#
public void DrawEllipse(
	Pen pen,
	float x,
	float y,
	float width,
	float height
)

Parameters

pen
Type: System.DrawingPen
Pen that determines the color, width, and style of the ellipse.
x
Type: SystemSingle
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
y
Type: SystemSingle
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
width
Type: SystemSingle
Width of the bounding rectangle that defines the ellipse.
height
Type: SystemSingle
Height of the bounding rectangle that defines the ellipse.
See Also