---
title: "Graphics.DrawBezier Method (Pen, PointF, PointF, PointF, PointF)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Graphics_DrawBezier_5_8a3de9c1.htm
product: "Graphics Mill"
---

# Graphics.DrawBezier Method (Pen, PointF, PointF, PointF, PointF)
 
Draws a Bezier spline defined by four PointF structures.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void DrawBezier(Pen pen,PointF point,PointF controlPoint1,PointF controlPoint2,PointF endPoint
)
```
 
### Parameters
 
 - pen
     - Type: [Aurigma.GraphicsMill.Drawing.Pen](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Pen.htm.md)
A [Pen](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Pen.htm.md) that determines the color, width, and style of the curve.

 - point
     - Type: System.Drawing.PointF
A PointF structure that represents the starting point of the curve.

 - controlPoint1
     - Type: System.Drawing.PointF
A PointF structure that represents the first control point for the curve.

 - controlPoint2
     - Type: System.Drawing.PointF
A PointF structure that represents the second control point for the curve.

 - endPoint
     - Type: System.Drawing.PointF
A PointF structure that represents the ending point of the curve.
 
## Remarks
  
A Bezier spline is defined with four points: first and last point specify beginning and end of the curve, second and third points specify so-called control points. The control points act as magnets, pulling the curve in certain directions to influence the way the Bezier spline bends.
   
## See Also

### Reference

- [Graphics Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Graphics.htm.md)
- [DrawBezier Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Drawing_Graphics_DrawBezier.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)

### Manual

- [Graphics: Drawing Images and Geometric Shapes](https://www.graphicsmill.com/docs/gm/graphics.htm.md)
