Open Equirinya opened 7 months ago
Ive tested it a bit more and it actually appears to fill in a transparent rect no matter the color or maskChannel
Perhaps the masking logic needs to be reworked to be able to do channel based masking without a mask image. Currently you have to provide a mask image, and maskChannel indicates which channel of the mask image to use.
When creating a transparent image filling it with a rounded Rect does not seem to work:
whereas just filling it with a color works:
bgImage = img.fill(bgImage, color: img.ColorRgba8(13, 42, 62, 255), maskChannel: img.Channel.alpha);