AnimationAsset
Overview
AnimationAsset is a class in Aspose.Font FOSS for Python.
AnimationAsset.write_to(path) writes the generated animation data to the given filesystem location, creates missing parent directories, and returns the Path of the written file.
This class provides 1 method for working with AnimationAsset objects in Python programs.
Available methods include: write_to.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: data, filename, fps, frame_count, frame_labels, media_type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
filename | str | Read | Gets the filename. |
media_type | str | Read | Gets the media type. |
data | bytes | Read | Gets the data. |
frame_count | int | Read | Gets the frame count. |
fps | int | Read | Gets the fps. |
frame_labels | tuple[str, ...] | Read | Gets the frame labels. |
Methods
| Signature | Description |
|---|---|
write_to(path: str | Path) → Path | Writes the generated animation data to the given filesystem location, creates missing parent directories, and returns the Path of the written file |