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

Function foreground

docs/app/js/sanddance-app.js:122543–122548  ·  view source on GitHub ↗
(emit6, item)

Source from the content-addressed store, hash-verified

122541 emitRectangle(emit5, item);
122542}
122543function foreground(emit6, item) {
122544 emit6("class", "foreground");
122545 emit6("aria-hidden", true);
122546 if (item.strokeForeground) emitRectangle(emit6, item);
122547 else emit6("d", "");
122548}
122549function content(emit7, item, renderer) {
122550 const url = item.clip ? clip$1(renderer, item, item) : null;
122551 emit7("clip-path", url);

Callers

nothing calls this directly

Calls 1

emitRectangleFunction · 0.70

Tested by

no test coverage detected