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