Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public ConnectionNode(Brush strokeColor, float thickness, ConnectionNode startNode, ConnectionNode endNode)
     : base(strokeColor, thickness, startNode, endNode)
 {
 }