Path.Rectangle Method

Creates a new Path shaped as a rectangle.

Overload List

Name Description
Public method Static member Rectangle(RectangleF)

Creates a new Path shaped as a rectangle defined by the specified RectangleF.

Public method Static member Rectangle(Single, Single, Single, Single)

Creates a new Path shaped as a rectangle defined by a pair of coordinates, a width, and a height.

See Also

Reference