AnimationPreviewBuilder

AnimationPreviewBuilder

Overview

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

AnimationPreviewBuilder.available_presets returns a tuple of preset names for animation generation.

This class provides 8 methods for working with AnimationPreviewBuilder objects in Python programs. Available methods include: available_presets, build_axis_sweep, build_axis_sweep_package, build_named_instance_path, build_path, build_path_package, build_path_review_package, build_path_showcase_package. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.

Methods

SignatureDescription
available_presets()tuple[str, ...]Returns a tuple of preset names for animation generation
build_axis_sweep(font: Font, axis_tag: str, start_val: float, end_val: float, text: str, frames: int | None, fps: int | None, bounce: bool | None, size: float | None, color: tuple[int, int, int], background: tuple[int, int, int], padding: int | None, antialias: bool, preset: str, file_stem: str | None, instance_name: str | None, base_coordinates: Mapping[str, float | str] | None, easing: str, caption_mode: str)AnimationAssetCreates an AnimationAsset sweeping a variable axis with given parameters
build_axis_sweep_package(font: Font, axis_tag: str, start_val: float, end_val: float)AnimationFramePackageReturns an AnimationFramePackage of frames for an axis sweep
build_path(font: Font, steps: Iterable[AnimationStep | Mapping[str, float | str]], text: str, frames_per_segment: int | None, hold_frames: int, fps: int | None, bounce: bool | None, size: float | None, color: tuple[int, int, int], background: tuple[int, int, int], padding: int | None, antialias: bool, preset: str, file_stem: str | None, easing: str, caption_mode: str)AnimationAssetCreates an AnimationAsset that follows a scripted path of steps with rendering options
build_path_package(font: Font, steps: Iterable[AnimationStep | Mapping[str, float | str]], text: str, frames_per_segment: int | None, hold_frames: int, fps: int | None, bounce: bool | None, size: float | None, color: tuple[int, int, int], background: tuple[int, int, int], padding: int | None, antialias: bool, preset: str, file_stem: str | None, easing: str, caption_mode: str)AnimationFramePackageReturns an AnimationFramePackage for a scripted path animation
build_path_review_package(font: Font, steps: Iterable[AnimationStep | Mapping[str, float | str]], text: str, frames_per_segment: int | None, hold_frames: int, fps: int | None, bounce: bool | None, size: float | None, color: tuple[int, int, int], background: tuple[int, int, int], padding: int | None, antialias: bool, preset: str, file_stem: str | None, easing: str, caption_mode: str)AnimationReviewPackageCreates an AnimationReviewPackage for reviewing a scripted path animation
build_path_showcase_package(font: Font, steps: Iterable[AnimationStep | Mapping[str, float | str]], text: str, frames_per_segment: int | None, hold_frames: int, fps: int | None, bounce: bool | None, size: float | None, color: tuple[int, int, int], background: tuple[int, int, int], padding: int | None, antialias: bool, preset: str, file_stem: str | None, easing: str, caption_mode: str)AnimationShowcasePackageCreates an AnimationShowcasePackage for showcasing a scripted path animation
build_named_instance_path(font: Font, instance_names: Iterable[str], text: str, frames_per_segment: int | None, hold_frames: int, fps: int | None, bounce: bool | None, size: float | None, color: tuple[int, int, int], background: tuple[int, int, int], padding: int | None, antialias: bool, preset: str, file_stem: str | None, easing: str, caption_mode: str)AnimationAssetCreates an AnimationAsset animating through named instances along a path

See Also