So how exactly does one apply the a Gradient to a canvas shape? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

So how exactly does one apply the a Gradient to a canvas shape?

How do i use the CreateLinearGradient() and CreateRadialGradient() methods? I was playing around with it but was unable to make the square in the lesson display with a gradient.

5th May 2017, 12:06 AM
Evannex
2 Answers
5th May 2017, 12:09 AM
Ulisses Cruz
Ulisses Cruz - avatar
+ 1
awesome thank you!
5th May 2017, 12:50 AM
Evannex