PDA

View Full Version : How to paint a 2D polygon with different colors in each vertex?



momo
29th June 2016, 02:32
Hello everyone,

I want to draw a gradient 2D polygon with different colors in each vertex(like the picture in accessory), It seems that the derived class of QGradient(which means QConicalGradient, QLinearGradient, and QRadialGradient) could not finished this work, is there anyway to draw this polygon?

12011