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

Function pickMark

docs/tests/v2/es6/js/sanddance.js:99487–99489  ·  view source on GitHub ↗
(mark, x, y)

Source from the content-addressed store, hash-verified

99485}
99486
99487function pickMark(mark, x, y) {
99488 return (mark.interactive !== false || mark.marktype === 'group') && mark.bounds && mark.bounds.contains(x, y);
99489}
99490
99491var _default = {
99492 type: 'group',

Callers 1

pickFunction · 0.70

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected