This documentation is for the old version. Go to the latest Graphics Mill docs

GdiGraphics.DrawBeziers Method (Pen, PointF[])

Draws a sequence of connected Bezier splines.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub DrawBeziers ( _
	pen As Pen, _
	points As PointF() _
)
C#
public void DrawBeziers(
	Pen pen,
	PointF[] points
)

Parameters

pen

Type: Aurigma.GraphicsMill.Drawing.Pen

Pen object which is used to draw an spline.
points

Type: System.Drawing.PointF []

Array of coordinates of the splines start, end, and control points.

Remarks

A single 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.

The end point of each spline is a start point for the next one. So the points array should have at least 4 points and + 3 points for each extra spline.

All the coordinates are measured in units specified with Unit property.

See Also

Reference