Gradient along a graphic line

Nonsanity rev at nonsanity.com
Fri Dec 31 14:41:12 EST 2010


Anyone know a way to set the points along a graphic line to different
colors, or to apply a gradient along the length of a line, regardless of its
path?

I want to have one end of a looping line one color, and the other end
another, with a smooth blend between them.

Only way I can think of doing it is breaking the one grc down into a
bajillion others (one for each point pair in "the points of grc x") and set
a linear gradient for each at the right segment of the overall gradient and
at the right angle. A heck of a lot of work.

A gradient stroke option of "Path" would be sweet, but is the a current
solution?

 ~ Chris Innanen
 ~ Nonsanity



More information about the Use-livecode mailing list