Gradient Fills in WinXP - Revisited!

Chipp Walters chipp at chipp.com
Wed Sep 14 00:30:35 EDT 2005


Josh,

Did you receive a suitable answer to your question? If not, I can 
provide you a script which does what you wish.

best,

Chipp

subzero569 wrote:
> I have exhaustively searched the archived posts for information on gradient 
> fills. A few posts made references to creating a gradient fill via 
> scripting. I am a novice Rev programmer and do not claim to be a 
> mathematician so I am having a tough time with this problem.
> 
> Basically, I have a rectangle graphic generated with a red fill. I want to 
> change this solid fill from plain red to a gradient of Red to Orange. 
> Example: Bottom color of rectangle would be an RGB value of Red: 255,0,0 and 
> the top color would end with Orange: 255,128,0. Is there a way to possibly 
> make the gradient fill in this rectangle using Rev to generate the graphic 
> rectangle? Also, this will only be used on WinXP and images aren't an option 
> at the present time for creating gradient fills.




More information about the use-livecode mailing list