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.cr

Enum 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

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def btt? #

[View source]
def invalid? #

[View source]
def ltr? #

[View source]
def rtl? #

[View source]
def ttb? #

[View source]