CommandEffect
CommandEffect
概述
CommandEffect 是 Aspose.Slides FOSS 中用于 Python 的一个类。继承自:Behavior,ICommandEffect。
表示 effect 的命令效果行为。
此类提供 9 个方法,用于在 Python 程序中处理 CommandEffect 对象。可用的方法包括:__init__、accumulate、additive、as_i_behavior、command_string、properties、shape_target、timing、type。在安装了 Aspose.Slides FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:accumulate、additive、as_i_behavior、command_string、properties、shape_target,以及另外 2 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
type | CommandEffectType | 读写 | 获取或设置类型。 |
command_string | str | 读写 | 获取或设置命令字符串。 |
shape_target | IShape | 读写 | 获取或设置形状目标。 |
as_i_behavior | IBehavior | 读取 | 获取 as i 行为。 |
accumulate | NullableBool | 读写 | 获取或设置累积。 |
additive | BehaviorAdditiveType | 读写 | 获取或设置 additive。 |
properties | IBehaviorPropertyCollection | 读取 | 获取属性。 |
timing | ITiming | 读写 | 获取或设置时机。 |
方法
| 签名 | 描述 |
|---|---|
__init__() | |
accumulate() → NullableBool | 表示动画行为是否被累积。 |
additive() → BehaviorAdditiveType | 表示当前动画行为是否与其他正在运行的动画组合在一起。 |
properties() → IBehaviorPropertyCollection | 表示行为的属性。 |
timing() → ITiming | 表示效果行为的计时属性。 |
type() → CommandEffectType | 定义行为的指令效果类型。 |
command_string() → str | 定义命令字符串。 |
shape_target() → IShape | 定义命令效果的形状目标。 |
as_i_behavior() → IBehavior | 允许获取基础 IBehavior 接口。 |