visualOrder

open fun visualOrder(text: String, rightToLeft: Boolean): String(source)

Applies the selected release's native-compatible bidirectional ordering and shaping. The default preserves text for backends whose caller supplies visual-order text.

Return

an independent visual-order string.

Parameters

text

immutable logical text.

rightToLeft

whether the fallback paragraph direction is right-to-left.