PathAnimationSource 枚举

定义

指定用于驱动动画的路径的输出属性值。

public enum class PathAnimationSource
public enum PathAnimationSource
type PathAnimationSource = 
Public Enum PathAnimationSource
继承
PathAnimationSource

字段

名称 说明
X 0

指定沿动画序列路径的进度过程中的 x 坐标偏移量。

Y 1

指定沿动画序列路径的进度过程中的 y 坐标偏移量。

Angle 2

指定沿动画序列路径进行过程中旋转的正切角度。

注解

路径动画可以沿以下三个可能移动的输出属性值: XY以及 Angle。 通过指定其中一个值,你将告诉动画使用路径的属性输出值来驱动动画。 例如,如果要使用 YSystem.Windows.Media.Animation.PathAnimationSource 对指定对象的 x 坐标(即TranslateTransform.X)的属性进行动画处理,则动画将使用路径的 y 坐标对对象的 x 坐标进行动画处理。

适用于

另请参阅