gfx.pushLayer(path); - clip by path and path.combine(mode,otherPath); demos.
gfx.pushLayer(path);
path.combine(mode,otherPath);