Graphics.DrawEllipse 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: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void DrawEllipse(
	Pen pen,
	float x,
	float y,
	float width,
	float height
)

Parameters

pen

Type: Aurigma.GraphicsMill.AdvancedDrawing.Pen

A Pen that determines the color, width, and style of the ellipse.
x

Type: System.Single

The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
y

Type: System.Single

The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
width

Type: System.Single

The width of the bounding rectangle that defines the ellipse.
height

Type: System.Single

The height of the bounding rectangle that defines the ellipse.

Remarks

Ellipse is defined by its tightest bounding rectangle.

To fill an ellipse, use the FillEllipse(Brush, Single, Single, Single, Single) method.

See Also

Reference

Manual