:right-sidebar: True direction_t =================================================================== .. currentmodule:: gi.repository.HarfBuzz .. class:: direction_t :no-contents-entry: The direction of a text segment or buffer. A segment can also be tested for horizontal or vertical orientation (irrespective of specific direction) with :func:`~gi.repository.HarfBuzz.DIRECTION_IS_HORIZONTAL` or :func:`~gi.repository.HarfBuzz.DIRECTION_IS_VERTICAL`. Fields ------ .. rst-class:: interim-class .. class:: direction_t :no-index: .. attribute:: BTT Text is set vertically from bottom to top. .. attribute:: INVALID Initial, unset direction. .. attribute:: LTR Text is set horizontally from left to right. .. attribute:: RTL Text is set horizontally from right to left. .. attribute:: TTB Text is set vertically from top to bottom.