BidiTextDriver

Interface for bidirectional text analysis according to the Unicode Bidirectional Algorithm (UAX #9) and script itemization.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun analyze(text: String, direction: Direction? = null): BidiText

Analyzes text.

Link copied to clipboard
abstract fun bidiClass(codePoint: Int): BidiClass

Returns the bidirectional character type of codePoint

Link copied to clipboard
abstract fun mirroredCodePoint(codePoint: Int): Int?

Returns the mirrored code point of codePoint (Bidi_Mirroring_Glyph) or null when it has none

Link copied to clipboard
abstract fun script(codePoint: Int): Script

Returns the script of codePoint as defined in the Unicode Scripts property, without resolving