Skip to content

setColor()

Set the button's color.

Parameters

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

button.setColor(color)
Parameter Type Default Description
color Color required The new button color.