Hi Erel,
I don't really know if I should class this as a bug. I want to snapshot a canvas and retain the alpha/transparent background. Unfortunately I can't seem to capture the transparency from the Snapshot option
Here's an example. The canvas on the left just demonstrates that the image (balloons) has a transparent background. If I draw the balloons (half size) to a new canvas and snapshot it, then draw the results over to the right side canvas you can seen the balloons background is now a solid white.
BEFORE AND AFTER pressing "Snapshot"
I have attached a B4J demonstration sample. I have tried filling the new canvas with a transparent rect and also using the style "-fx-background-color: transparent" but no luck.
Thanks
I don't really know if I should class this as a bug. I want to snapshot a canvas and retain the alpha/transparent background. Unfortunately I can't seem to capture the transparency from the Snapshot option
Here's an example. The canvas on the left just demonstrates that the image (balloons) has a transparent background. If I draw the balloons (half size) to a new canvas and snapshot it, then draw the results over to the right side canvas you can seen the balloons background is now a solid white.
BEFORE AND AFTER pressing "Snapshot"
I have attached a B4J demonstration sample. I have tried filling the new canvas with a transparent rect and also using the style "-fx-background-color: transparent" but no luck.
Thanks