AnimationPreviewBuilder
AnimationPreviewBuilder
Overview
AnimationPreviewBuilder є клас у Aspose.Font FOSS для Python.
AnimationPreviewBuilder.available_presets returns a tuple of preset names for animation generation.
Цей клас надає 8 методів роботи з об’єктами AnimationPreviewBuilder в програмах Python. Доступні методи включають: 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. Всі публічні члени доступні будь-якій додаткові Python після встановлення Aspose.Font FOSS для пакету Python.
Methods
| Signature | Description |
|---|---|
available_presets() → tuple[str, ...] | Повертає тупл попередньо встановлених імен для генерації анімацій. |
| `build_axis_sweep(font: Font, axis_tag: str, start_val: float, end_val: float, text: str, frames: int | None, fps: int |
build_axis_sweep_package(font: Font, axis_tag: str, start_val: float, end_val: float) → AnimationFramePackage | Повертає AnimationFramePackage кадрів для пробивання осі. |
| `build_path(font: Font, steps: Iterable[AnimationStep | Mapping[str, float |
| `build_path_package(font: Font, steps: Iterable[AnimationStep | Mapping[str, float |
| `build_path_review_package(font: Font, steps: Iterable[AnimationStep | Mapping[str, float |
| `build_path_showcase_package(font: Font, steps: Iterable[AnimationStep | Mapping[str, float |
| `build_named_instance_path(font: Font, instance_names: Iterable[str], text: str, frames_per_segment: int | None, hold_frames: int, fps: int |