LineBreak.Strictness
-
android
value class LineBreak.Strictness
Describes the strictness of line breaking, determining before which characters line breaks can be inserted. It is useful when working with CJK scripts.
Summary
Public companion properties |
||
|---|---|---|
LineBreak.Strictness |
Default breaking rules for the locale, which may correspond to |
android
|
LineBreak.Strictness |
The least restrictive rules, suitable for short lines. |
android
|
LineBreak.Strictness |
The most common rules for line breaking. |
android
|
LineBreak.Strictness |
The most stringent rules for line breaking. |
android
|
LineBreak.Strictness |
This represents an unset value, a usual replacement for "null" when a primitive value is desired. |
android
|
Public companion properties
Default
val Default: LineBreak.Strictness
Default breaking rules for the locale, which may correspond to Normal or Strict.
Loose
val Loose: LineBreak.Strictness
The least restrictive rules, suitable for short lines.
For example, in Japanese it allows breaking before iteration marks, such as 々, 〻.
Normal
val Normal: LineBreak.Strictness
The most common rules for line breaking.
For example, in Japanese it allows breaking before characters like small hiragana (ぁ), small katakana (ァ), halfwidth variants (ァ).
Strict
val Strict: LineBreak.Strictness
The most stringent rules for line breaking.
For example, in Japanese it does not allow breaking before characters like small hiragana (ぁ), small katakana (ァ), halfwidth variants (ァ).
Unspecified
val Unspecified: LineBreak.Strictness
This represents an unset value, a usual replacement for "null" when a primitive value is desired.