Is it possible to use a PNG as Picture mask?

I will use an png as Mask for a Picture in the node. In CSS i can use an PNG Image as mask for a image. I know that i can clipping a Picture in a Circle, but the PNG is like a Brushstroke like in the image below. Is that in GOJS possible to do.


So that it becomes to that:


while <canvas> supports several filters, masks are not among them, so to render this you’d need to use a go.Picture with an SVG source, where that SVG was masked (via <mask>). Or else use a composite image made with an in-memory canvas.

Thank you Simon for the fast response.
How dos it work with SVG Image? I can make from the Brush an SVG.