Charting for WinForms Programmer's Guide
GdiGraphics.DrawBezier Method (Pen, Single, Single, Single, Single, Single, Single, Single, Single)
See Also
 






Draws a Bézier spline defined by four ordered pairs of coordinates that represent points.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public virtual void DrawBezier (
    Pen pen,
    float x1,
    float y1,
    float x2,
    float y2,
    float x3,
    float y3,
    float x4,
    float y4
)

Visual Basic  Copy Code

Public Overridable Sub DrawBezier( _
    pen As Pen, _
    x1 As Single, _
    y1 As Single, _
    x2 As Single, _
    y2 As Single, _
    x3 As Single, _
    y3 As Single, _
    x4 As Single, _
    y4 As Single _
)

 Parameters

pen
A .NET Pen object that determines the color, width, and style of the curve.
x1
The x-coordinate of the starting point of the curve.
y1
The y-coordinate of the starting point of the curve.
x2
The x-coordinate of the first control point of the curve.
y2
The y-coordinate of the first control point of the curve.
x3
The x-coordinate of the second control point of the curve.
y3
The y-coordinate of the second control point of the curve.
x4
The x-coordinate of the ending point of the curve.
y4
The y-coordinate of the ending point of the curve.

 See Also

DrawBezier Method Overload List
GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace