cc.Mask component have
type = IMAGE_STENCIL
sprite_frame = my_img.png
it works best with images but what if i want to create mask with cc.Graphics component as I not found any way to put cc.Graphics as a masking source.
Does there anyway to convert cc.Graphics to sprite frame and then use it in cc.Mask?