Exemple #1
0
 public LineObject(Brush strokeColor, float thickness, ConnectionNode startNode, ConnectionNode endNode)
 {
     LinePath = new Path();
     LinePath.StrokeThickness = thickness;
     LinePath.Stroke          = strokeColor;
     _lineGeometry            = new LineGeometry(startNode.Location, endNode.Location);
     StartNode = startNode;
     EndNode   = endNode;
 }
 public ConnectionNode(Brush strokeColor, float thickness, ConnectionNode startNode, ConnectionNode endNode)
     : base(strokeColor, thickness, startNode, endNode)
 {
 }