(rect, hostRect, edge)
| 31790 | return _getRelativeEdgeValue(edge, _getEdgeValue(rect, edge)); |
| 31791 | } |
| 31792 | function _getRelativeEdgeDifference(rect, hostRect, edge) { |
| 31793 | var edgeDifference = _getEdgeValue(rect, edge) - _getEdgeValue(hostRect, edge); |
| 31794 | return _getRelativeEdgeValue(edge, edgeDifference); |
| 31795 | } |
| 31796 | /** |
| 31797 | * Moves the edge of a rectangle to the value given. It only moves the edge in a linear direction based on that edge. |
| 31798 | * For example, if it's a bottom edge it will only change y coordinates. |
no test coverage detected