Ejemplo n.º 1
0
 public ConnectableChangedEventArgs(ConnectionAnchorKind kind, IConnectable oldValue, IConnectable newValue)
 {
     _kind     = kind;
     _oldValue = oldValue;
     _newValue = newValue;
 }
Ejemplo n.º 2
0
 // ========================================
 // constructor
 // ========================================
 public AnchorMovedEventArgs(ConnectionAnchorKind kind, Point oldLocation, Point newLocation)
 {
     _kind        = kind;
     _oldLocation = oldLocation;
     _newLocation = newLocation;
 }
Ejemplo n.º 3
0
 // ========================================
 // constructor
 // ========================================
 public ConnectionAnchor(AbstractConnection owner, ConnectionAnchorKind kind)
 {
     _owner = owner;
     _kind  = kind;
 }
Ejemplo n.º 4
0
 public EdgeAnchor(AbstractEdge owner, ConnectionAnchorKind kind) : base(owner, kind)
 {
     _owner = owner;
 }