Hello guys,
I’m facing a strange issue. I’m changing the opacity on node fills and strokes but always getting the alpha value as ‘255’.
Hello guys,
I’m facing a strange issue. I’m changing the opacity on node fills and strokes but always getting the alpha value as ‘255’.
Can you post a short example of code that has this problem?
Be careful that you’re mindful of how to set scenenode properties with object values (like fill
, whose value is a Color object or gradient object).
The problem was that I was setting the node opacity and expecting to get the Color opacity. I found that there is a distinction between node opacity and fill Color opacity. Thanks for your reply @peterflynn