Gimp.text_layer_get_justification

function text_layer_get_justification(layer: Gimp.Layer): Gimp.TextJustification {
    // Gjs wrapper for gimp_text_layer_get_justification()
}
  

Get the text justification information of the text layer.

This procedure returns the alignment of the lines in the text layer relative to each other.

Since 2.6

layer

The text layer.

Returns

The justification used in the text layer.