set_current_color


Description:

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

Warning: set_current_color is deprecated since 3.4. Use set_current_rgba.

Sets the current color to be color.

Note:

Use set_current_rgba instead.

The first time this is called, it will also set the original color to be color too.

Parameters:

this

a ColorSelection

color

a Color to set the current color with