2013/1/6 Vitor Eiji Justus Sakaguti <[email protected]>

>
> However, I still don't know what any of this syntax means, so if
> anyone could point me to an explanation, that would be even more
> helpful.
>
> Thank you!
>
> Vitor


Hi!

If I'm not mistaken the first two xy coordinates are defining the start and
the end point of the gradient. (they are separated with ":" character)
The third part (after the second ":") is defining "stops", which means
specific color at a specific percentage along the gradient axis. (And there
can be multiple instances too)

I found this here:
http://awesome.naquadah.org/doc/api/modules/gears.color.html#create_pattern

And maybe this can help too:
https://developer.mozilla.org/en-US/docs/CSS/linear-gradient
(I know that this is for css, but it seems to use the same logic here, and
the documentation is quite good.)

Regards,
Nandor

Reply via email to