setRed
Sets the background color's red component.
@Deprecated public void setRed(int red) { int green = getGreen(); int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); }
Details
- Deprecated:
- This method is deprecated.
Parameters
- red
- Background color's red component.