Draws a cubic Bezier spline.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub DrawBezier ( _ pen As Pen, _ pt1 As PointF, _ pt2 As PointF, _ pt3 As PointF, _ pt4 As PointF _ )
Type: Aurigma.GraphicsMill.Drawing.Pen
Pen object which is used to draw an spline.Type: System.Drawing.PointF
Start spline point.Type: System.Drawing.PointF
First control point.Type: System.Drawing.PointF
Second control point.Type: System.Drawing.PointF
End spline point.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.
All the coordinates are measured in units specified with Unit property.