AddEffect

ITextAnimation.AddEffect 方法

在当前序列末尾添加新的效果,添加到文本动画组的末尾。仅在文本段落的数量等于或大于该组的效果数量时有效!

public IEffect AddEffect(EffectType effectType, EffectSubtype subtype, 
    EffectTriggerType triggerType)
参数类型描述
effectTypeEffectType动画效果的类型 EffectType
subtypeEffectSubtype动画效果的子类型 EffectSubtype
triggerTypeEffectTriggerType效果的触发类型 EffectTriggerType

返回值

新的效果对象 IEffect

参见