MindFusion.Wpf Pack Programmer's Guide
LineTemplate Constructor (Double, Double, Double, Double)
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 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

LineTemplate Constructor Overload List
LineTemplate Class
MindFusion.Diagramming.Wpf Namespace