enum Pango::WrapMode
Overview
Pango::WrapMode
describes how to wrap the lines of a Pango::Layout
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.
Defined in:
lib/gi-crystal/src/auto/pango-1.0/pango.crEnum Members
-
Word =
0_u32
-
wrap lines at word boundaries.
-
Char =
1_u32
-
wrap lines at character boundaries.
-
WordChar =
2_u32
-
wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.