* Aligns the edge on the passed in rect to the target. If there is a gap then it will have that space between the two.
(rect, target, edge, gap)
| 31805 | /** |
| 31806 | * Aligns the edge on the passed in rect to the target. If there is a gap then it will have that space between the two. |
| 31807 | */ function _alignEdges(rect, target, edge, gap) { |
| 31808 | if (gap === void 0) gap = 0; |
| 31809 | return _moveEdge(rect, edge, _getEdgeValue(target, edge) + _getRelativeEdgeValue(edge, gap)); |
| 31810 | } |
| 31811 | /** |
| 31812 | * Aligns the targetEdge on the passed in target to the rects corresponding opposite edge. |
| 31813 | * For instance if targetEdge is bottom, then the rects top will be moved to match it. |
no test coverage detected