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





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public New ( _
    x1 As Double, _
    y1 As Double, _
    x2 As Double, _
    y2 As Double, _
    x3 As Double, _
    y3 As Double, _
    x4 As Double, _
    y4 As Double _
)

 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