set_color


Description:

public void set_color (Color color)

Sets the color of the contents of a Text actor.

The overall opacity of the Text actor will be the result of the alpha value of color and the composited opacity of the actor itself on the scenegraph, as returned by get_paint_opacity.

Parameters:

this

a Text

color

a Color