VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawCurve Methods / DrawCurve(PdfPen,PointF,PointF,PointF,PointF) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    DrawCurve(PdfPen,PointF,PointF,PointF,PointF) Method (PdfGraphics)
    In This Topic
    Draws a cubic Bezier curve at specified coordinates.
    Syntax
    'Declaration
    
    Public Overloads Sub DrawCurve( _
    ByVal pen
    PdfPen that determines the color, width, and style of the spline.
    As PdfPen, _
    ByVal pt0
    Start point.
    As System.Drawing.PointF, _
    ByVal pt1
    First control point.
    As System.Drawing.PointF, _
    ByVal pt2
    Second control point.
    As System.Drawing.PointF, _
    ByVal pt3
    Last point.
    As System.Drawing.PointF _
    )
    public void DrawCurve(
    PdfPen pen,
    System.Drawing.PointF pt0,
    System.Drawing.PointF pt1,
    System.Drawing.PointF pt2,
    System.Drawing.PointF pt3
    )
    public: void DrawCurve(
    PdfPen* pen,
    System.Drawing.PointF pt0,
    System.Drawing.PointF pt1,
    System.Drawing.PointF pt2,
    System.Drawing.PointF pt3
    )
    public:
    void DrawCurve(
    PdfPen^ pen,
    System.Drawing.PointF pt0,
    System.Drawing.PointF pt1,
    System.Drawing.PointF pt2,
    System.Drawing.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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also