Exemplo n.º 1
0
 internal SnapObstacle(string name, RectInt32 bounds, PaintDotNet.Snap.SnapRegion snapRegion, bool stickyEdges, int snapProximity, int snapDistance, ISnapObstaclePersist persistenceHandler)
 {
     this.name               = name;
     this.bounds             = bounds;
     this.previousBounds     = bounds;
     this.snapRegion         = snapRegion;
     this.stickyEdges        = stickyEdges;
     this.snapProximity      = snapProximity;
     this.snapDistance       = snapDistance;
     this.enabled            = true;
     this.persistenceHandler = persistenceHandler;
 }
Exemplo n.º 2
0
 internal SnapObstacle(string name, RectInt32 bounds, PaintDotNet.Snap.SnapRegion snapRegion, bool stickyEdges, ISnapObstaclePersist persistenceHandler) : this(name, bounds, snapRegion, stickyEdges, DefaultSnapProximity, DefaultSnapDistance, persistenceHandler)
 {
 }