set_entry_color


Description:

[ Version ( since = "2.2" ) ]
public bool set_entry_color (int entry_num, Color color)

Sets the color of an entry in the palette.

Sets the color of the entry at the zero-based index into the palette. Returns an error when the index is out of range. Returns an error when the palette is not editable.

Parameters:

this

The palette.

entry_num

The entry to get.

color

The new color.

Returns:

TRUE on success.