enum
Pango::Alignment
Overview
Pango::Alignment describes how to align the lines of a Pango::Layout
within the available space.
If the Pango::Layout is set to justify using Pango::Layout#justify=,
this only affects partial lines.
See Pango::Layout#auto_dir= for how text direction affects
the interpretation of Pango::Alignment values.
Defined in:
lib/gi-crystal/src/auto/pango-1.0/pango.crEnum Members
-
Left =
0_u32 -
Put all available space on the right
-
Center =
1_u32 -
Center the line within the available space
-
Right =
2_u32 -
Put all available space on the left
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#center?
Returns
trueif this enum value equalsCenter -
#left?
Returns
trueif this enum value equalsLeft -
#right?
Returns
trueif this enum value equalsRight
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.