How can we achieve a transparent background in image canvas

Hi All,

Is there a way we can achieve transparent background in image canvas using opacity or something like that when we draw a rectangle.

Regards,
Prajwal

This is hopelessly undocumented - but i will take a guess you can use color attribute for the rectangle?
If so, it is likely RGBA and by varying the Alpha channel between 0 and 255 you can get levels of transparency.

“EnTerr” wrote:
This is hopelessly undocumented - but i will take a guess you can use color attribute for the rectangle?
If so, it is likely RGBA and by varying the Alpha channel between 0 and 255 you can get levels of transparency.
roImageCanvas colors are actually ARGB, but you are correct. Set the color to an ARGB value and set the CompositionMode to “Source_Over” and that will alpha blend the TargetRect over the underlying layers.

“EnTerr” wrote:
This is hopelessly undocumented -
Documented 7/31 - thanks, RokuKC!