Transparency in Chart Objects

 

Dear Fellow

I am looking to add transparency to chart objects such as rectangle / triangles as achieved as shown in the Example.png for Butterfly pattern.

I have come across https://www.mql5.com/en/articles/1341 and https://www.mql5.com/en/articles/4575 articles but not sure if they will be help me to achieve transparency? or if any other article to help on this?

Regards

Studying the CCanvas Class. How to Draw Transparent Objects
Studying the CCanvas Class. How to Draw Transparent Objects
  • www.mql5.com
Do you need more than awkward graphics of moving averages? Do you want to draw something more beautiful than a simple filled rectangle in your terminal? Attractive graphics can be drawn in the terminal. This can be implemented through the CСanvas class, which is used for creating custom graphics. With this class you can implement transparency, blend colors and produce the illusion of transparency by means of overlapping and blending colors.
Files:
Example.png  44 kb