GraphicsPath.AddEllipse Method (Single, Single, Single, Single)

 

Adds an ellipse to the current path.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public void AddEllipse(
	float x,
	float y,
	float width,
	float height
)

Parameters

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.

For an example, see AddEllipse(Rectangle).

.NET Framework
Available since 1.1
Return to top
Show: