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

NameTypeAccessDescription
filenamestrReadGets the filename.
media_typestrReadGets the media type.
databytesReadGets the data.
frame_countintReadGets the frame count.
fpsintReadGets the fps.
frame_labelstuple[str, ...]ReadGets the frame labels.

Methods

SignatureDescription
write_to(path: str | Path)PathWrites the generated animation data to the given filesystem location, creates missing parent directories, and returns the Path of the written file

See Also