Computer Science Canada

RGB help

Author:  nate [ Thu Apr 17, 2003 8:42 pm ]
Post subject:  RGB help

HOw WOULD YOU MAKE A BOX (drawfillbox)

go from a darkcolor - a light color in center - darkcolor at other end.

-nate

Author:  Asok [ Fri Apr 18, 2003 1:02 am ]
Post subject: 

you're talking about a gradient

simplest way is Draw.Line

code:
for i : 1..250
Draw.Line (i,50,i,100,i)
end for

Author:  jamez [ Fri Apr 18, 2003 11:44 am ]
Post subject: 

code:
for i : 1 .. maxcolor
    RGB.SetColor (i, 40, i, 0)
    Draw.Line (i, 0, i, maxcolor, i)
end for


: