getDirection

open fun getDirection(index: <Error class: unknown class>): Direction

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

Return

the text direction at @index

Since

1.46

Parameters

index

the byte index of the char