better-ability-6982
05/25/2023, 3:36 PMFlxSpriteUtil.drawPolygon(_canvas, poly, 0xFF80684E, null, {blendMode:BlendMode.ERASE});
#if !flash
// BlendMode.ERASE is not supported by non-flash targets, so we manually erase the pixels
// with a threshold() call
_canvas.pixels.threshold(_canvas.pixels, _canvas.pixels.rect, new Point(0, 0), "==", 0xFF80684E);
#end