GlyphOutlineStats
Overview
GlyphOutlineStats is a class in Aspose.Font FOSS for Python.
GlyphOutlineStats.to_dict returns a dictionary representation of the outline statistics.
This class provides 1 method for working with GlyphOutlineStats objects in Python programs.
Available methods include: to_dict.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: advance_width, bbox, closed_contour_count, command_count, contour_count, control_point_count, and 7 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
command_count | int | Read | Gets the command count. |
point_count | int | Read | Gets the point count. |
contour_count | int | Read | Gets the contour count. |
advance_width | int | Read | Gets the advance width. |
line_count | int | Read | Gets the line count. |
quadratic_count | int | Read | Gets the quadratic count. |
cubic_count | int | Read | Gets the cubic count. |
control_point_count | int | Read | Gets the control point count. |
closed_contour_count | int | Read | Gets the closed contour count. |
open_contour_count | int | Read | Gets the open contour count. |
start_point | tuple[float, float] | None | Read | Gets the start point. |
end_point | tuple[float, float] | None | Read | Gets the end point. |
bbox | tuple[float, float, float, float] | None | Read | Gets the bbox. |
Methods
| Signature | Description |
|---|---|
to_dict() → dict[str, object] | Returns a dictionary representation of the outline statistics |