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 项。

属性

名称类型访问描述
sequenceISequence读取获取序列。
text_animationITextAnimation读取获取文本动画。
preset_class_typeEffectPresetClassType读写获取或设置预设类类型。
typeEffectType读写获取或设置类型。
subtypeEffectSubtype读写获取或设置子类型。
behaviorsIBehaviorCollection读写获取或设置行为。
timingITiming读写获取或设置计时。
target_shapeIShape读取获取目标形状。
soundIAudio读写获取或设置声音。
stop_previous_soundbool读写获取或设置停止先前的声音。
after_animation_typeAfterAnimationType读写获取或设置后续动画类型。
after_animation_colorIColorFormat读写获取或设置动画结束后的颜色。
animate_text_typeAnimateTextType读写获取或设置动画文本类型。
delay_between_text_partsfloat读写获取或设置文本部分之间的延迟。

方法

签名描述
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定义了动画文本部件(单词或字母)之间的延迟。

另请参阅

 中文