Interface ITessAPI.TessWritingDirection

  • Enclosing interface:
    ITessAPI

    public static interface ITessAPI.TessWritingDirection
    The grapheme clusters within a line of text are laid out logically in this direction, judged when looking at the text line rotated so that its Orientation is "page up".

    For English text, the writing direction is left-to-right. For the Chinese text in the above example, the writing direction is top-to-bottom.
    • Field Detail

      • WRITING_DIRECTION_LEFT_TO_RIGHT

        static final int WRITING_DIRECTION_LEFT_TO_RIGHT
        See Also:
        Constant Field Values
      • WRITING_DIRECTION_RIGHT_TO_LEFT

        static final int WRITING_DIRECTION_RIGHT_TO_LEFT
        See Also:
        Constant Field Values
      • WRITING_DIRECTION_TOP_TO_BOTTOM

        static final int WRITING_DIRECTION_TOP_TO_BOTTOM
        See Also:
        Constant Field Values