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 ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python.
Methods
| Signature | Description |
|---|---|
available_presets() → tuple[str, ...] | การคืน tuple ของชื่อที่กําหนดไว้ก่อนสําหรับการสร้างออนิเมชั่น |
| `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 |