set_previous_color


Description:

[ Version ( deprecated = true , deprecated_since = "3.4" , replacement = "set_previous_rgba" ) ]
public void set_previous_color (Color color)

Warning: set_previous_color is deprecated since 3.4. Use set_previous_rgba.

Sets the “previous” color to be color.

Note:

Use set_previous_rgba instead.

This function should be called with some hesitations, as it might seem confusing to have that color change. Calling set_current_color will also set this color the first time it is called.

Parameters:

this

a ColorSelection

color

a Color to set the previous color with