System.Drawing.Graphics.DrawEllipse Method

Draws an ellipse defined by a bounding System.Drawing.RectangleF.

Syntax

public void DrawEllipse (Pen pen, RectangleF rect)

Parameters

pen
System.Drawing.Pen that determines the color, width, and style of the ellipse.
rect
System.Drawing.RectangleF structure that defines the boundaries of the ellipse.

Remarks

This method draws an ellipse that is defined by the bounding rectangle specified by the rect parameter.

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0