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

属性

名称类型访问描述
typeCommandEffectType读写获取或设置类型。
command_stringstr读写获取或设置命令字符串。
shape_targetIShape读写获取或设置形状目标。
as_i_behaviorIBehavior读取获取 as i 行为。
accumulateNullableBool读写获取或设置累积。
additiveBehaviorAdditiveType读写获取或设置 additive。
propertiesIBehaviorPropertyCollection读取获取属性。
timingITiming读写获取或设置时机。

方法

签名描述
__init__()
accumulate() → NullableBool表示动画行为是否被累积。
additive() → BehaviorAdditiveType表示当前动画行为是否与其他正在运行的动画组合在一起。
properties() → IBehaviorPropertyCollection表示行为的属性。
timing() → ITiming表示效果行为的计时属性。
type() → CommandEffectType定义行为的指令效果类型。
command_string() → str定义命令字符串。
shape_target() → IShape定义命令效果的形状目标。
as_i_behavior() → IBehavior允许获取基础 IBehavior 接口。

另请参阅

 中文