GlyphOutlineStats

GlyphOutlineStats

Übersicht

GlyphOutlineStats ist eine Klasse in Aspose.Font FOSS für Python.

GlyphOutlineStats.to_dict gibt eine Wörterbuchdarstellung der Outline-Statistiken zurück.

Diese Klasse stellt 1 Methode zur Arbeit mit GlyphOutlineStats-Objekten in Python-Programmen bereit. Verfügbare Methoden umfassen: to_dict. Alle öffentlichen Mitglieder sind für jede Python-Anwendung zugänglich, nachdem das Aspose.Font FOSS für Python-Paket installiert wurde. Eigenschaften: advance_width, bbox, closed_contour_count, command_count, contour_count, control_point_count und 7 weitere.

Eigenschaften

NameTypZugriffBeschreibung
command_countintLesenErmittelt die Befehlsanzahl.
point_countintLesenGibt die Punktanzahl zurück.
contour_countintLesenRuft die Konturanzahl ab.
advance_widthintLesenRuft die Vorwärtsbreite ab.
line_countintLesenRuft die Zeilenzahl ab.
quadratic_countintLesenRuft die quadratische Anzahl ab.
cubic_countintLesenGibt die kubische Anzahl zurück.
control_point_countintLesenErmittelt die Anzahl der Steuerpunkte.
closed_contour_countintLesenErmittelt die Anzahl geschlossener Konturen.
open_contour_countintLesenErmittelt die Anzahl offener Konturen.
start_point`tuple[float, float]None`Lesen
end_point`tuple[float, float]None`Lesen
bbox`tuple[float, float, float, float]None`Lesen

Methoden

SignaturBeschreibung
to_dict() → dict[str, object]Gibt eine Wörterbuchdarstellung der Outline-Statistiken zurück.

Siehe auch

 Deutsch