olikraus / ucglib

Arduino True Color Library for TFTs and OLEDs
https://github.com/olikraus/ucglib/wiki
Other
261 stars 76 forks source link

drawGradientBox #135

Open Sub-7 opened 4 years ago

Sub-7 commented 4 years ago

I use your lib in all my projects but how can I use "drawGradientBox" if I need green at the top, yellow in the middle, red at the bottom?

AnHardt commented 4 years ago

Draw two (half) boxes. One green to yellow, One yellow to red.