AddEffect
ITextAnimation.AddEffect 方法
在当前序列末尾添加新的效果,添加到文本动画组的末尾。仅在文本段落的数量等于或大于该组的效果数量时有效!
public IEffect AddEffect(EffectType effectType, EffectSubtype subtype,
EffectTriggerType triggerType)
参数 | 类型 | 描述 |
---|---|---|
effectType | EffectType | 动画效果的类型 EffectType |
subtype | EffectSubtype | 动画效果的子类型 EffectSubtype |
triggerType | EffectTriggerType | 效果的触发类型 EffectTriggerType |
返回值
新的效果对象 IEffect