Draws a rectangle specified by a Rectangle structure.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void DrawRectangle( Pen pen, Rectangle rect )
Type: Aurigma.GraphicsMill.Drawing.Pen
A Pen that determines the color, width, and style of the rectangle.Type: System.Drawing.Rectangle
A Rectangle structure that represents the rectangle to draw.To fill a rectangle, use FillRectangle(Brush, Rectangle) method.