Timing
Timing
概述
Timing 是 Aspose.Slides FOSS 中用于 Python 的类。继承自:ITiming。
表示动画计时。
此类提供 13 个方法,用于在 Python 程序中处理 Timing 对象。可用的方法包括:accelerate、auto_reverse、decelerate、duration、repeat_count、repeat_duration、repeat_until_end_slide、repeat_until_next_click、restart、rewind、speed、trigger_delay_time,以及另外 1 个方法。所有公共成员在安装 Aspose.Slides FOSS for Python 包后,可供任何 Python 应用程序访问。属性:accelerate、auto_reverse、decelerate、duration、repeat_count、repeat_duration,以及另外 7 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
accelerate | float | 读写 | 获取或设置加速。 |
decelerate | float | 读写 | 获取或设置 decelerate。 |
auto_reverse | bool | 读写 | 获取或设置自动反转。 |
duration | float | 读写 | 获取或设置持续时间。 |
repeat_count | float | 读写 | 获取或设置重复计数。 |
repeat_until_end_slide | bool | 读写 | 获取或设置重复直到结束幻灯片。 |
repeat_until_next_click | bool | 读写 | 获取或设置在下次点击之前的重复。 |
repeat_duration | float | 读写 | 获取或设置重复持续时间。 |
restart | EffectRestartType | 读写 | 获取或设置 restart。 |
rewind | bool | 读写 | 获取或设置倒带。 |
speed | float | 读写 | 获取或设置速度。 |
trigger_delay_time | float | 读写 | 获取或设置触发延迟时间。 |
trigger_type | EffectTriggerType | 读写 | 获取或设置触发器类型。 |
方法
| 签名 | 描述 |
|---|---|
accelerate() → float | 描述加速行为效果的持续时间百分比。 |
decelerate() → float | 描述减速行为效果的持续时间百分比。 |
auto_reverse() → bool | 描述在正向播放动画后是否自动反向播放。 |
duration() → float | 描述动画效果的持续时间。 |
repeat_count() → float | 描述效果应重复的次数。 |
repeat_until_end_slide() → bool | 此属性指定效果是否会重复至幻灯片结束。 |
repeat_until_next_click() → bool | 此属性指定效果是否会重复至下一次点击。 |
repeat_duration() → float | 描述效果应重复的次数。 |
restart() → EffectRestartType | 指定效果在完成后是否重新启动。 |
speed() → float | 指定加速(或减速)计时的百分比。 |
trigger_delay_time() → float | 描述触发后的延迟时间。 |
trigger_type() → EffectTriggerType | 描述触发器类型。 |
rewind() → bool | 此属性指定效果在播放完成后是否会倒带。 |