Skip to content

setRed()

Set the red component of the color.

color.setRed(red)

Parameters

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