Search
BezierTemplate Constructor (Single, Single, Single, Single, Single, Single, Single, Single)
See Also
 





Initializes a new instance of the BezierTemplate class with the specified coordinates.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public BezierTemplate (
    float x1,
    float y1,
    float x2,
    float y2,
    float x3,
    float y3,
    float x4,
    float y4
)

Visual Basic  Copy Code

Public New ( _
    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

x1
The x-coordinate of the first control point of the curve.
y1
The y-coordinate of the first control point of the curve.
x2
The x-coordinate of the second control point of the curve.
y2
The y-coordinate of the second control point of the curve.
x3
The x-coordinate of the third control point of the curve.
y3
The y-coordinate of the third control point of the curve.
x4

The x-coordinate of the fourth control point of the curve.

y4
The y-coordinate of the fourth control point of the curve.

 Remarks

A Bézier spline is defined by four control points. The spline goes through the first and last points, and the other two define the tension of the spline.

 See Also