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





Initializes a new instance of the LineTemplate class with the specified start and end point.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public LineTemplate (
    float x1,
    float y1,
    float x2,
    float y2
)

Visual Basic  Copy Code

Public New ( _
    x1 As Single, _
    y1 As Single, _
    x2 As Single, _
    y2 As Single _
)

 Parameters

x1
The x-coordinate of the first point, expressed in percents of a shape node's bounding rectangle.
y1
The y-coordinate of the first point, expressed in percents of a shape node's bounding rectangle.
x2
The x-coordinate of the second point, expressed in percents of a shape node's bounding rectangle.
y2
The y-coordinate of the second point, expressed in percents of a shape node's bounding rectangle.

 Remarks

A line template is defined by two points whose coordinates are passed as arguments.

 See Also