GraphicsPath::AddRectangle Method (RectangleF)

 

Adds a rectangle to this path.

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

public:
void AddRectangle(
	RectangleF rect
)

Parameters

rect
Type: System.Drawing::RectangleF

A RectangleF that represents the rectangle to add.

For an example, see AddRectangle(Rectangle).

.NET Framework
Available since 1.1
Return to top
Show: