Graphics.DrawEllipse Method (Pen, Rectangle)

Draws an ellipse defined by a bounding Rectangle.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void DrawEllipse(
	Pen pen,
	Rectangle rect
)

Parameters

pen

Type: Aurigma.GraphicsMill.Drawing.Pen

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

Type: System.Drawing.Rectangle

A Rectangle structure that defines the boundaries of the ellipse.

Remarks

Ellipse is defined by its tightest bounding rectangle.

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

See Also

Reference