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

Function drawPath

docs/app/js/sanddance-app.js:122357–122364  ·  view source on GitHub ↗
(path6, context32, item, items)

Source from the content-addressed store, hash-verified

122355 };
122356}
122357function drawPath(path6, context32, item, items) {
122358 var opacity = item.opacity == null ? 1 : item.opacity;
122359 if (opacity === 0) return;
122360 if (path6(context32, items)) return;
122361 blend(context32, item);
122362 if (item.fill && fill(context32, item, opacity)) context32.fill();
122363 if (item.stroke && stroke(context32, item, opacity)) context32.stroke();
122364}
122365function pick$1(test) {
122366 test = test || (0, _vegaUtil.truthy);
122367 return function(context33, scene, x26, y25, gx, gy) {

Callers 2

drawAllFunction · 0.70
drawOneFunction · 0.70

Calls 3

blendFunction · 0.70
fillFunction · 0.70
strokeFunction · 0.70

Tested by

no test coverage detected