Draws a series of Bezier splines from an array of Point structures.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void DrawBeziers( Pen pen, Point[] points ) |
Visual Basic |
---|
Public Sub DrawBeziers ( _ pen As Pen, _ points As Point() _ ) |
Parameters
- pen
- Type: C1.Silverlight.Pdf..::..Pen
Pen object that determines the color, width, and style of the Bezier splines.
- points
- Type: array<System.Windows..::..Point>[]()[][]
Array of Point structures that represent the points that determine the curve.
Remarks
The first spline requires four points, and each additional spline requires three additional points (it starts from the last point in the previous spline). Therefore, the points array must contain at least four points, and the total length minus one must be a multiple of three.
All coordinates are expressed in points, measured from the upper-left corner of the page.