Lines Matching refs:snapLocation
37235 context.gridSnappingContext.snapLocation = 'top-left';
37519 snapLocation = gridSnappingContext.snapLocation,
37548 if (!snapLocation) {
37553 if (/left/.test(snapLocation)) {
37555 } else if (/right/.test(snapLocation)) {
37559 if (/top/.test(snapLocation)) {
37561 } else if (/bottom/.test(snapLocation)) {
55953 SnapContext.prototype.getSnapOrigin = function(snapLocation) { argument
55954 return this._snapOrigins[snapLocation];
55958 SnapContext.prototype.setSnapOrigin = function(snapLocation, initialValue) { argument
55959 this._snapOrigins[snapLocation] = initialValue;
55961 if (this._snapLocations.indexOf(snapLocation) === -1) {
55962 this._snapLocations.push(snapLocation);
56036 SnapPoints.prototype.add = function(snapLocation, point) { argument
56038 var snapValues = this._snapValues[snapLocation];
56041 snapValues = this._snapValues[snapLocation] = { x: [], y: [] };
56054 SnapPoints.prototype.snap = function(point, snapLocation, axis, tolerance) { argument
56055 var snappingValues = this._snapValues[snapLocation];
56069 forEach(defaultSnaps || {}, function(snapPoints, snapLocation) { argument
56071 self.add(snapLocation, point);