VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawCurve Methods / DrawCurve(PdfPen,Single,Single,Single,Single,Single,Single,Single,Single) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    DrawCurve(PdfPen,Single,Single,Single,Single,Single,Single,Single,Single) 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 x0
    The x-coordinate of the start point.
    As Single, _
    ByVal y0
    The y-coordinate of the start point.
    As Single, _
    ByVal x1
    The x-coordinate of the first control point.
    As Single, _
    ByVal y1
    The y-coordinate of the first control point.
    As Single, _
    ByVal x2
    The x-coordinate of the second control point.
    As Single, _
    ByVal y2
    The y-coordinate of the second control point.
    As Single, _
    ByVal x3
    The x-coordinate of the last point.
    As Single, _
    ByVal y3
    The y-coordinate of the last point.
    As Single _
    )
    public void DrawCurve(
    PdfPen pen,
    float x0,
    float y0,
    float x1,
    float y1,
    float x2,
    float y2,
    float x3,
    float y3
    )
    public: void DrawCurve(
    PdfPen* pen,
    float x0,
    float y0,
    float x1,
    float y1,
    float x2,
    float y2,
    float x3,
    float y3
    )
    public:
    void DrawCurve(
    PdfPen^ pen,
    float x0,
    float y0,
    float x1,
    float y1,
    float x2,
    float y2,
    float x3,
    float y3
    )

    Parameters

    pen
    PdfPen that determines the color, width, and style of the spline.
    x0
    The x-coordinate of the start point.
    y0
    The y-coordinate of the start point.
    x1
    The x-coordinate of the first control point.
    y1
    The y-coordinate of the first control point.
    x2
    The x-coordinate of the second control point.
    y2
    The y-coordinate of the second control point.
    x3
    The x-coordinate of the last point.
    y3
    The y-coordinate of the last point.
    Remarks

    The curve extends from the point (x0,y0) to the point (x3,y3), using (x1,y1) and (x2,y2) 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