Unofficial Nextion/TJC User Forum

Opaqueness and "fill" command

Hi gents,
does anyone knows if it’s possible to draw filled rectangles with different Opaqueness values?
I’m using Intelligent series display, but i’ve not idea how to solve this problem.

Thanks

The generic GUI drawing commands do not support the alpha attribute. If the size of the rectangle is known in advance (height and width can’t be modified at runtime) you can show and hide (and even move into position) by using the aph, x, and y attributes of a correspondingly sized text box component without text and the desired solid background color.


This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).