Function

Pango-1.0Pangofind_base_dirSince 1.4

  • Searches a string the first character that has a strong direction, according to the Unicode bidirectional algorithm.

    Parameters

    • text: string

      the text to process. Must be valid UTF-8

    • length: number

      length of text in bytes (may be -1 if text is nul-terminated)

    Returns Pango.Direction

    The direction corresponding to the first strong character. If no such character is found, then Pango.Direction.NEUTRAL is returned.

    1.4