The test contains a single PNG image, size 440x260. The white and blue areas are partially transparent while the surrounding area, and the rectangular and circular holes, are completely transparent; the yellow area is completely opaque. A TouchSensor is present for the Bitmap and it's isOver field is routed to the filled field of the Material2D for the small white circle at the top of the screen. Thus the small indicator circle will be filled when the pointer is over the geometry - this should only occur over the creamy white, blue and yellow portions. The indicator should not show over the background color (the orange brown) which shows through the transparent holes and in the areas around the white and blue out to the 440x260 size of the image.
The same transparency behavior can be seen with the IBMMaterialKey test where in this case a MaterialKey key color creates transparency from a specified (key) color in the image.
Snapshot of rendered output.
![]() |