In the Render section i wrote a gradient function we can use if we want.
In the Render section i wrote a drawGradientLine() function we can use if we want.