this.myLayer = new Shape();
this.addChild(this.myLayer);
const graphics = this.myLayer.graphics;
graphics.beginBitmapFill(image);
graphics.drawRect(x, y, w, h);
graphics.endFill();
frame.stage.update();
What it i want to clear / erase a certain portion of it?
I can't "paint" a white rectangle, since the background should be transparent.
Is it possible?