Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft