group.mask = poly works for svg and canvas renderers