Gimp.TextLayer.prototype.set_color

function set_color(color: Gimp.RGB): Boolean {
    // Gjs wrapper for gimp_text_layer_set_color()
}
  

Set the color of the text in the text layer.

This procedure sets the text color in the text layer 'layer'.

Since 2.6

color

The color to use for the text.

Returns

TRUE on success.