Gimp.text_layer_get_color

function text_layer_get_color(layer: Gimp.Layer): [ok: Boolean, color: Gimp.RGB] {
    // Gjs wrapper for gimp_text_layer_get_color()
}
  

Get the color of the text in a text layer.

This procedure returns the color of the text in a text layer.

Since 2.6

layer

The text layer.

ok

TRUE on success.

color

The color of the text.