Hi,

You could use a ShaderItem to do this. 

André

Sent from my phone, please excuse my brevity

> On 23 Dec 2016, at 05:41, Jason H <jh...@gmx.com> wrote:
> 
> I'm trying to do a sexy Tumbler, and I want the text to be a gradient color, 
> not solid.
> 
> Given:
> - 50%
> 1
> 2 - 100%
> 3
> - 50%
> I want 2, the bottom of 1, and the top of 3 to be 100%, but the top of 1 and 
> bottom of 3 to be 50%, but with a smooth transition over the characters. The 
> current tumbler examples cheat and just set it on the whole character.
> 
> How can I do this?
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to