MatrixAnimationUsingPath.IsOffsetCumulative 属性

定义

获取或设置一个值,该值指示动画矩阵生成的偏移量是否会在重复时累积。

public:
 property bool IsOffsetCumulative { bool get(); void set(bool value); };
public bool IsOffsetCumulative { get; set; }
member this.IsOffsetCumulative : bool with get, set
Public Property IsOffsetCumulative As Boolean

属性值

true 如果对象将累积动画重复,则为否则,为 false. 默认值为 false

注解

如果此属性设置为 true,动画矩阵的偏移量将随着动画重复而累积。 例如,如果路径是小弧线,并且动画设置为重复,累积偏移将导致对象在屏幕上出现弹跳。

此属性确定动画矩阵的偏移量在动画因 RepeatBehavior 设置而重复时是否累积;它不会导致动画重启时偏移量累积。 有关如何使动画生成之前动画的值的信息,请参阅 IsAdditive

Dependency 属性信息

项目 价值
标识符字段 IsOffsetCumulativeProperty
元数据属性设置为 true None

适用于

另请参阅