Draws a rectangle specified by a coordinate pair, a width, and a height.
Namespace:
Aurigma.GraphicsMill.AdvancedDrawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void DrawRectangle( Pen pen, float x, float y, float width, float height )
Type: Aurigma.GraphicsMill.AdvancedDrawing.Pen
A Pen that determines the color, width, and style of the rectangle.Type: System.Single
The x-coordinate of the upper-left corner of the rectangle to draw.Type: System.Single
The y-coordinate of the upper-left corner of the rectangle to draw.Type: System.Single
The width of the rectangle to draw.Type: System.Single
The height of the rectangle to draw.To fill a rectangle, use FillRectangle(Brush, Single, Single, Single, Single) method.