Layout.getDirection

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

class Layout
getDirection
(
int index
)

Parameters

index int

the byte index of the char

Return Value

Type: pango.types.Direction

the text direction at index