Skip to content

setGreen()

Set the green component of the color.

Parameters

Once an object color has been created, you can use the following function:

color.setGreen(green)
Parameter Type Default Description
green int required The new green component, from 0 to 255.