MCPcopy Create free account
hub / github.com/microsoft/SandDance / _getEdgeValue

Function _getEdgeValue

docs/app/js/sanddance-app.js:31760–31762  ·  view source on GitHub ↗
(rect, edge)

Source from the content-addressed store, hash-verified

31758 return outOfBounds;
31759}
31760function _getEdgeValue(rect, edge) {
31761 return rect[(0, _positioningTypes.RectangleEdge)[edge]];
31762}
31763function _setEdgeValue(rect, edge, value) {
31764 rect[(0, _positioningTypes.RectangleEdge)[edge]] = value;
31765 return rect;

Callers 9

_getCenterValueFunction · 0.85
_moveEdgeFunction · 0.85
_alignEdgesFunction · 0.85
_alignOppositeEdgesFunction · 0.85
_centerEdgeToPointFunction · 0.85
_finalizeBeakPositionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected