GlyphOutlineStats
Vue de l’ensemble
‘GlyphOutlineStats’ est une classe dans Aspose.Font FOSS pour Python.
GlyphOutlineStats.to_dict retourne une représentation vocabulaire des statistiques de la sortie.
Cette classe fournit 1 méthode pour travailler avec les objets GlyphOutlineStats dans les programmes Python. Les méthodes disponibles comprennent: to_dict. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Font FOSS pour le package Pyathon. Propriétés: ‘advance_width’, ‘bbox’, `closed_contour_count’, ‘command_conta’, ‘con tour_cont’, «control_point_content’, et 7 autres.
Propriétés
| 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 |
end_point | `tuple[float, float] | None` | Read |
bbox | `tuple[float, float, float, float] | None` | Read |
méthodes
| Signature | Description |
|---|---|
to_dict() → dict[str, object] | Returns a dictionary representation of the outline statistics |
Voir aussi
- Aspose.Font — référence API d’entreprise