freetypy.Outline.get_orientation¶
-
Outline.
get_orientation
()¶ This function analyzes a glyph outline and tries to compute its fill orientation. This is done by computing the direction of each global horizontal and/or vertical extrema within the outline.
See
ORIENTATION
for a list of the result values.Note that this will return
ORIENTATION.TRUETYPE
for empty outlines.