Ejemplo n.º 1
0
 /// <summary>
 /// Returns the current port location since we don't want to change the port location.
 /// </summary>
 protected override IPortLocationModelParameter GetNewParameter(IPort port, IPortLocationModel model,
                                                                PointD newLocation)
 {
     return(port.LocationParameter);
 }
Ejemplo n.º 2
0
 public AnchorParameter(IPortLocationModel model, IPoint anchor)
 {
     this.model  = model;
     this.anchor = anchor;
 }