Gimp.text_layer_get_base_direction

function text_layer_get_base_direction(layer: Gimp.Layer): Gimp.TextDirection {
    // Gjs wrapper for gimp_text_layer_get_base_direction()
}
  

Get the base direction used for rendering the text layer.

This procedure returns the base direction used for rendering the text in the text layer

Since 2.6

layer

The text layer.

Returns

The based direction used for the text layer.