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

Function backgroundPath

docs/tests/v2/es6/js/sanddance.js:99394–99398  ·  view source on GitHub ↗
(context, group)

Source from the content-addressed store, hash-verified

99392}
99393
99394function backgroundPath(context, group) {
99395 var offset = group.stroke ? StrokeOffset : 0;
99396 context.beginPath();
99397 (0, _shapes.rectangle)(context, group, offset, offset);
99398}
99399
99400var hitBackground = (0, _pick.hitPath)(backgroundPath);
99401

Callers 1

drawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected