Dear experts,
I have a TPolyLine.
I see it inherits from TAttFill and therefore it should have the SetFillColorAlpha() method. But it doesn’t!
So any idea about how I can set the transparency of the filling?
Thanks,
Luca
Dear experts,
I have a TPolyLine.
I see it inherits from TAttFill and therefore it should have the SetFillColorAlpha() method. But it doesn’t!
So any idea about how I can set the transparency of the filling?
Thanks,
Luca
Which graphics backend are you using ?
Transparency on screen works when you set the OpenGL Backend (on all platforms).
In $ROOTSYS/system.rootrc you should have:
OpenGL.CanvasPreferGL: 1
On Mac it works also with the Cocoa backend
On output file it works with all binary files (pgn, jpeg etc…) and with pdf
Note: all this is clearly said in the doc here:
root.cern.ch/root/htmldoc/TColor.html#C06
Thanks for your answer. I overlooked those two lines.
Thanks,
Luca