[Interest] Gradient Text

André Somers andre at familiesomers.nl
Fri Dec 23 07:26:25 CET 2016


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 <jhihn at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list