Function: applyMask()
applyMask(
image,maskPiece):void
Defined in: src/lib/transform/Transformer/index.ts:106
Cut a copied area down to a mask: only the parts where the mask piece (the same area of the mask) is above 0 are kept, partly where it is partly.
Parameters
image
OffscreenCanvas
maskPiece
OffscreenCanvas
Returns
void