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






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

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,
    Color color,
    DashStyle dashStyle,
    double width
)

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, _
    color As Color, _
    dashStyle As DashStyle, _
    width 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.

color

The color of this segment.

dashStyle

The dash style of this segment.

width

The width of this segment.

 Remarks

A Bezier 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