Gimp.text_layer_set_base_direction
function text_layer_set_base_direction(layer: Gimp.Layer, direction: Gimp.TextDirection): Boolean {
// Gjs wrapper for gimp_text_layer_set_base_direction()
}
Set the base direction in the text layer.
This procedure sets the base direction used in applying the Unicode bidirectional algorithm when rendering the text.
Since 2.6
- layer
The text layer.
- direction
The base direction of the text.
- Returns
TRUE on success.