set_background_color


Description:

[ Version ( since = "1.10" ) ]
public void set_background_color (Color? color)

Sets the background color of a Actor.

The background color will be used to cover the whole allocation of the actor. The default background color of an actor is transparent.

To check whether an actor has a background color, you can use the background_color_set actor property.

The background_color property is animatable.

Parameters:

this

a Actor

color

a Color, or null to unset a previously set color