Creates a new Path shaped as a rectangle defined by the specified RectangleF.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public static Path Rectangle( RectangleF rectangle )
Type: System.Drawing.RectangleF
A rectangle to create the path from.Unlike DrawRectangle(RectangleF), which adds a rectangle segment to an existing path, this static method returns a new, standalone Path.