Searched refs:dockingDirection (Results 1 – 1 of 1) sorted by relevance
53331 function getDockingPoint(point, rectangle, dockingDirection, targetOrientation) { argument53336 if (dockingDirection === 'h') {53337 dockingDirection = /left/.test(targetOrientation) ? 'l' : 'r';53340 if (dockingDirection === 'v') {53341 dockingDirection = /top/.test(targetOrientation) ? 't' : 'b';53344 if (dockingDirection === 't') {53348 if (dockingDirection === 'r') {53352 if (dockingDirection === 'b') {53356 if (dockingDirection === 'l') {53360 throw new Error('unexpected dockingDirection: <' + dockingDirection + '>');