[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] Error in Color help file



The Color help file says:

*rand(hue, sat, val, alpha)
create new random color.

but the Color class method is:

*rand { arg lo=0.3,hi=0.9; ^Color.new(rrand(lo,hi),rrand(lo,hi),rrand(lo,hi)) }

so help file should say something like:

*rand(lo,hi)
create new random color with red, green and blue values between lo and hi.

Cheers,

Paul