VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawCurve Method / DrawCurve(PdfPen,PointF,PointF,PointF,PointF) Method
PdfPen that determines the color, width, and style of the spline.
Start point.
First control point.
Second control point.
Last point.



In This Topic
    DrawCurve(PdfPen,PointF,PointF,PointF,PointF) Method
    In This Topic
    Draws a cubic Bezier curve at specified coordinates.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawCurve( _
       ByVal pen As PdfPen, _
       ByVal pt0 As PointF, _
       ByVal pt1 As PointF, _
       ByVal pt2 As PointF, _
       ByVal pt3 As PointF _
    ) 
    public void DrawCurve( 
       PdfPen pen,
       PointF pt0,
       PointF pt1,
       PointF pt2,
       PointF pt3
    )
    public: void DrawCurve( 
       PdfPen* pen,
       PointF pt0,
       PointF pt1,
       PointF pt2,
       PointF pt3
    ) 
    public:
    void DrawCurve( 
       PdfPen^ pen,
       PointF pt0,
       PointF pt1,
       PointF pt2,
       PointF pt3
    ) 

    Parameters

    pen
    PdfPen that determines the color, width, and style of the spline.
    pt0
    Start point.
    pt1
    First control point.
    pt2
    Second control point.
    pt3
    Last point.
    Remarks
    The curve extends from the point pt0 to the point pt3, using pt1 and pt2 as the Bezier control points.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also