GlyphOutlineStats

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

NameTypeAccessDescription
command_countintReadGets the command count.
point_countintReadGets the point count.
contour_countintReadGets the contour count.
advance_widthintReadGets the advance width.
line_countintReadGets the line count.
quadratic_countintReadGets the quadratic count.
cubic_countintReadGets the cubic count.
control_point_countintReadGets the control point count.
closed_contour_countintReadGets the closed contour count.
open_contour_countintReadGets the open contour count.
start_pointtuple[float, float] | NoneReadGets the start point.
end_pointtuple[float, float] | NoneReadGets the end point.
bboxtuple[float, float, float, float] | NoneReadGets the bbox.

Methods

SignatureDescription
to_dict()dict[str, object]Returns a dictionary representation of the outline statistics

See Also