Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ericdrowell/KineticJS
/ applyMask
Function
applyMask
kinetic.js:4754–4758 ·
view source on GitHub ↗
(idata, mask)
Source
from the content-addressed store, hash-verified
4752
}
4753
4754
function
applyMask(idata, mask) {
4755
for
(
var
i = 0; i < idata.width * idata.height; i++) {
4756
idata.data[4 * i + 3] = mask[i];
4757
}
4758
}
4759
4760
function
erodeMask(mask, sw, sh) {
4761
Callers
1
kinetic.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected