shade


Description:

public Color shade (double factor)

Shades this by factor and saves the modified color into result.

Parameters:

this

a Color

factor

the shade factor to apply

result

return location for the shaded color