enum
HarfBuzz::DirectionT
Overview
The direction of a text segment or buffer.
A segment can also be tested for horizontal or vertical orientation (irrespective of specific direction) with HB_DIRECTION_IS_HORIZONTAL() or HB_DIRECTION_IS_VERTICAL().
Defined in:
lib/gi-crystal/src/auto/harf_buzz-0.0/harf_buzz.crEnum Members
-
Invalid =
0_u32 -
Initial, unset direction.
-
Ltr =
4_u32 -
Text is set horizontally from left to right.
-
Rtl =
5_u32 -
Text is set horizontally from right to left.
-
Ttb =
6_u32 -
Text is set vertically from top to bottom.
-
Btt =
7_u32 -
Text is set vertically from bottom to top.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#btt?
Returns
trueif this enum value equalsBtt -
#invalid?
Returns
trueif this enum value equalsInvalid -
#ltr?
Returns
trueif this enum value equalsLtr -
#rtl?
Returns
trueif this enum value equalsRtl -
#ttb?
Returns
trueif this enum value equalsTtb
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.