---
title: "Graphics.DrawRectangle Method "
canonical: https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Drawing_Graphics_DrawRectangle.htm
product: "Graphics Mill"
---

# Graphics.DrawRectangle Method 
 
Draws a rectangle.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [DrawRectangle(Pen, RectangleF)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Graphics_DrawRectangle_2_169e24a7.htm.md) |  Draws a rectangle specified by a RectangleF structure. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [DrawRectangle(Pen, Single, Single, Single, Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Graphics_DrawRectangle_5_b3708ac1.htm.md) |  Draws a rectangle specified by a coordinate pair, a width, and a height. |
   
## See Also

### Reference

- [Graphics Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Graphics.htm.md)
- [Graphics Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Drawing_Graphics.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
