Draws a rectangle.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub DrawRectangle ( _ pen As Pen, _ x As Single, _ y As Single, _ width As Single, _ height As Single _ )
Type: Aurigma.GraphicsMill.Drawing.Pen
Pen object which is used to outline a rectangle.Type: System.Single
X-coordinate of the top left corner of the rectangle.Type: System.Single
Y-coordinate of the top left corner of the rectangle.Type: System.Single
Width of the rectangle.Type: System.Single
Height of the rectangle.All the coordinates are measured in units specified with Unit property.