Effect
Effect
概述
Effect 是 Aspose.Slides FOSS 为 Python 提供的一个类。继承自:IEffect。
表示动画效果。
此类提供了 14 个用于在 Python 程序中操作 Effect 对象的方法。可用的方法包括:after_animation_color、after_animation_type、animate_text_type、behaviors、delay_between_text_parts、preset_class_type、sequence、sound、stop_previous_sound、subtype、target_shape、text_animation,以及另外 2 个方法。安装 Aspose.Slides FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性有:after_animation_color、after_animation_type、animate_text_type、behaviors、delay_between_text_parts、preset_class_type,以及另外 8 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
sequence | ISequence | 读取 | 获取序列。 |
text_animation | ITextAnimation | 读取 | 获取文本动画。 |
preset_class_type | EffectPresetClassType | 读写 | 获取或设置预设类类型。 |
type | EffectType | 读写 | 获取或设置类型。 |
subtype | EffectSubtype | 读写 | 获取或设置子类型。 |
behaviors | IBehaviorCollection | 读写 | 获取或设置行为。 |
timing | ITiming | 读写 | 获取或设置计时。 |
target_shape | IShape | 读取 | 获取目标形状。 |
sound | IAudio | 读写 | 获取或设置声音。 |
stop_previous_sound | bool | 读写 | 获取或设置停止先前的声音。 |
after_animation_type | AfterAnimationType | 读写 | 获取或设置后续动画类型。 |
after_animation_color | IColorFormat | 读写 | 获取或设置动画结束后的颜色。 |
animate_text_type | AnimateTextType | 读写 | 获取或设置动画文本类型。 |
delay_between_text_parts | float | 读写 | 获取或设置文本部分之间的延迟。 |
方法
| 签名 | 描述 |
|---|---|
sequence() → ISequence | 返回一个用于效果的序列。 |
text_animation() → ITextAnimation | 返回文本动画。 |
preset_class_type() → EffectPresetClassType | 定义效果的类。 |
type() → EffectType | 定义效果的类型。 |
subtype() → EffectSubtype | 定义效果的子类型。 |
behaviors() → IBehaviorCollection | 返回效果的行为集合。 |
timing() → ITiming | 定义效果的时间值。 |
target_shape() → IShape | 返回效果的目标形状。 |
sound() → IAudio | 为效果定义嵌入式声音。 |
stop_previous_sound() → bool | 此属性指定动画效果是否停止先前的声音。 |
after_animation_type() → AfterAnimationType | 为效果定义了 after 动画类型。 |
after_animation_color() → IColorFormat | 为效果定义了后置动画颜色。 |
animate_text_type() → AnimateTextType | 定义了一种用于效果的动画文本类型。 |
delay_between_text_parts() → float | 定义了动画文本部件(单词或字母)之间的延迟。 |