CharDirection

CharDirection represents Bidi_Class Unicode character property. Numeric constant values match to ICU's UCharDirection enum.

See https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/uchar_8h.html See https://www.unicode.org/reports/tr9/

Properties

Link copied to clipboard
const val ARABIC_NUMBER: Int = 5
Link copied to clipboard
const val BLOCK_SEPARATOR: Int = 7
Link copied to clipboard
const val BOUNDARY_NEUTRAL: Int = 18
Link copied to clipboard
Link copied to clipboard
const val DIR_NON_SPACING_MARK: Int = 17
Link copied to clipboard
const val EUROPEAN_NUMBER: Int = 2
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val FIRST_STRONG_ISOLATE: Int = 19
Link copied to clipboard
const val LEFT_TO_RIGHT: Int = 0
Link copied to clipboard
Link copied to clipboard
const val LEFT_TO_RIGHT_ISOLATE: Int = 20
Link copied to clipboard
const val LEFT_TO_RIGHT_OVERRIDE: Int = 12
Link copied to clipboard
const val OTHER_NEUTRAL: Int = 10
Link copied to clipboard
const val POP_DIRECTIONAL_FORMAT: Int = 16
Link copied to clipboard
Link copied to clipboard
const val RIGHT_TO_LEFT: Int = 1
Link copied to clipboard
const val RIGHT_TO_LEFT_ARABIC: Int = 13
Link copied to clipboard
Link copied to clipboard
const val RIGHT_TO_LEFT_ISOLATE: Int = 21
Link copied to clipboard
const val RIGHT_TO_LEFT_OVERRIDE: Int = 15
Link copied to clipboard
const val SEGMENT_SEPARATOR: Int = 8
Link copied to clipboard
const val WHITE_SPACE_NEUTRAL: Int = 9

Functions

Link copied to clipboard
fun of(codePoint: Int): Int

Returns the bidirectional category value for the code point. Same as java.lang.Character.getDirectionality()