TypeScript API Documentation for HARFBUZZ
API Version: 0.0
Library Version: 11.5.1
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 0.9.2
Converts a string to an HarfBuzz.direction_t.
Matching is loose and applies only to the first letter. For examples, "LTR" and "left-to-right" will both return #HB_DIRECTION_LTR.
Unmatched strings will return #HB_DIRECTION_INVALID.
String to convert
The HarfBuzz.direction_t matching str
str
0.9.2
Converts a string to an HarfBuzz.direction_t.
Matching is loose and applies only to the first letter. For examples, "LTR" and "left-to-right" will both return #HB_DIRECTION_LTR.
Unmatched strings will return #HB_DIRECTION_INVALID.