getDirection

open fun getDirection(index: Int): 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