PathAnimationSource 枚举

定义

指定用于驱动动画的路径的输出属性值。Specifies the output property value of the path that is used to drive the animation.

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

字段

Angle 2

指定沿动画序列路径前进过程中的旋转正切角。Specifies the tangent angle of rotation during the progression along an animation sequence path.

X 0

指定沿动画序列路径前进过程中的 x 坐标偏移量。Specifies the x-coordinate offset during the progression along an animation sequence path.

Y 1

指定沿动画序列路径前进过程中的 y 坐标偏移量。Specifies the y-coordinate offset during the progression along an animation sequence path.

注解

路径动画可以移动三个可能的输出属性值: XYAngleThere are three possible output property values that a path animation can move along: X, Y, and Angle. 通过指定下列值之一, 你会告诉动画使用路径的属性输出值来驱动动画。By specifying one of these values, you're telling the animation to use that property output value of the path to drive the animation. 例如, 如果您要TranslateTransform.X System.Windows.Media.Animation.PathAnimationSource使用的属性对指定对象的 x 坐标 (即) 的Y属性进行动画处理, 则动画将使用路径的 y 坐标对对象的 x 坐标进行动画处理。For example, if you're animating the property that specifies the x-coordinate of an object (that is, TranslateTransform.X) using a System.Windows.Media.Animation.PathAnimationSource of Y, then the animation will animate the x-coordinate of the object using the y-coordinates of the path.

适用于

另请参阅