Draws a Bezier spline defined by four Point structures.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void DrawBezier( Pen pen, Point start, Point ctl1, Point ctl2, Point end ) |
Visual Basic |
---|
Public Sub DrawBezier ( _ pen As Pen, _ start As Point, _ ctl1 As Point, _ ctl2 As Point, _ end As Point _ ) |
Parameters
- pen
- Type: C1.Silverlight.Pdf..::..Pen
Pen object that determines the color, width, and style of the Bezier spline.
- start
- Type: System.Windows..::..Point
Point structure that represents the starting point of the curve.
- ctl1
- Type: System.Windows..::..Point
Point structure that represents the first control point for the curve.
- ctl2
- Type: System.Windows..::..Point
Point structure that represents the second control point for the curve.
- end
- Type: System.Windows..::..Point
Point structure that represents the ending point of the curve.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.