Beispiel #1
0
 /// <summary>
 /// Moves shape to specified position (in world units) relative to the diagram.
 /// </summary>
 public static void MoveTo(this NodeShape shape, double x, double y)
 {
     shape.MoveTo(new PointD(x, y));
 }
Beispiel #2
0
 /// <summary>
 /// Moves shape to specified position (in device units) relative to the shape's parent element.
 /// </summary>
 public static void MoveTo(this NodeShape shape, int x, int y)
 {
     shape.MoveTo(new Point(x, y));
 }