---
title: "Graphics.DrawLine Method "
canonical: https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Drawing_Graphics_DrawLine.htm
product: "Graphics Mill"
---

# Graphics.DrawLine Method 
 
Draws a line connecting the two points.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [DrawLine(Pen, PointF, PointF)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Graphics_DrawLine_3_32eccb21.htm.md) |  Draws a line connecting two points defined by PointF structures. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [DrawLine(Pen, Single, Single, Single, Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Graphics_DrawLine_5_b3708ac1.htm.md) |  Draws a line connecting the two points specified by the coordinate pairs. |
   
## 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)
