GlyphPath

Overview

GlyphPath is a class in Aspose.Font FOSS for Python.

Ordered sequence of PathCommand objects representing one glyph’s outline.

This class provides 3 methods for working with GlyphPath objects in Python programs. Available methods include: __init__, append, extend. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.

Methods

SignatureDescription
__init__(commands: list[PathCommand] | None)Calls init on this GlyphPath instance.
append(cmd: PathCommand)Adds a single PathCommand to the glyph’s path
extend(cmds: list[PathCommand])Adds multiple PathCommand objects to the glyph’s path

See Also