WrapMode

PangoWrapMode describes how to wrap the lines of a PangoLayout to the desired width.

For @PANGO_WRAP_WORD, Pango uses break opportunities that are determined by the Unicode line breaking algorithm. For @PANGO_WRAP_CHAR, Pango allows breaking at grapheme boundaries that are determined by the Unicode text segmentation algorithm.

Entries

Link copied to clipboard

wrap lines at word boundaries.

Link copied to clipboard

wrap lines at character boundaries.

Link copied to clipboard

wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): WrapMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.