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

Function _setEdgeValue

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

Source from the content-addressed store, hash-verified

31761 return rect[(0, _positioningTypes.RectangleEdge)[edge]];
31762}
31763function _setEdgeValue(rect, edge, value) {
31764 rect[(0, _positioningTypes.RectangleEdge)[edge]] = value;
31765 return rect;
31766}
31767/**
31768 * Returns the middle value of an edge. Only returns 1 value rather than xy coordinates as
31769 * the itself already contains the other coordinate.

Callers 1

_moveEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected