GraphicsPath::AddEllipse Method (Int32, Int32, Int32, Int32)

 

Adds an ellipse to the current path.

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

public:
void AddEllipse(
	int x,
	int y,
	int width,
	int height
)

Parameters

x
Type: System::Int32

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

y
Type: System::Int32

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

width
Type: System::Int32

The width of the bounding rectangle that defines the ellipse.

height
Type: System::Int32

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: