If no such character is found, then [pango.types.Direction.Neutral] is returned.
findBaseDir
fn
pango.types.Direction findBaseDir(string text)Searches a string the first character that has a strong direction, according to the Unicode bidirectional algorithm.
Parameters
text | the text to process. Must be valid UTF-8 |
Returns
The direction corresponding to the first strong character.