Layout.getDirection

pango.types.Direction getDirection(int index)

Gets the text direction at the given character position in layout.

Parameters

indexthe byte index of the char

Returns

the text direction at index