diff --git a/src/jcanvas.js b/src/jcanvas.js index c60b4ef..9003355 100644 --- a/src/jcanvas.js +++ b/src/jcanvas.js @@ -391,7 +391,7 @@ function _closePath(canvas, ctx, params, path) { if (params.mask) { // Retrieve canvas data data = _getCanvasData(canvas); - _enableMasking(ctx, data, params); + _enableMasking(ctx, data, params, path); } }