canvas mask patch

rect/elip and circ are not defined by points but pixi standard objects.