🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

LineBreak.WordBreak

Describes how line breaks should be inserted within words.

Source set: Android
public class WordBreak internal constructor(internal val value: Int)

Describes how line breaks should be inserted within words.

Functions

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
public companion object

Properties

Default

Source set: Android
public val Default: WordBreak

Default word breaking rules for the locale. In latin scripts this means inserting line breaks between words, while in languages that don't use whitespace (e.g. Japanese) the line can break between characters.

+---------+ | This is | | an | | example | | text. | | 今ζ—₯はθ‡ͺ | | η”±γŒδΈ˜γ§ | | 焼きι³₯γ‚’ | | 食べま | | す。 | +---------+

Phrase

Source set: Android
public val Phrase: WordBreak

Line breaking is based on phrases. In languages that don't use whitespace (e.g. Japanese), line breaks are not inserted between characters that are part of the same phrase unit. This is ideal for short text such as titles and UI labels.

+---------+ | This | | is an | | example | | text. | | 今ζ—₯は | | θ‡ͺη”±γŒδΈ˜ | | で焼きι³₯ | | γ‚’ι£ŸγΉ | | ます。 | +---------+

Unspecified

Source set: Android
public val Unspecified: WordBreak

This represents an unset value, a usual replacement for "null" when a primitive value is desired.