PathAnimationSource Enum

Definition

Specifies the output property value of the path that is used to drive the animation.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
Inheritance
PathAnimationSource

Fields

Angle 2

Specifies the tangent angle of rotation during the progression along an animation sequence path.Specifies the tangent angle of rotation during the progression along an animation sequence path.

X 0

Specifies the x-coordinate offset during the progression along an animation sequence path.Specifies the x-coordinate offset during the progression along an animation sequence path.

Y 1

Specifies the y-coordinate offset during the progression along an animation sequence path.Specifies the y-coordinate offset during the progression along an animation sequence path.

Remarks

Существует три возможных значения выходного свойства, которые можно перемещать с помощью анимации по путям: X, Yи Angle.There 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. Например, при анимации свойства, определяющего координату x объекта (то есть TranslateTransform.X) с помощью System.Windows.Media.Animation.PathAnimationSource Y, анимация будет анимировать координату x объекта, используя координаты y для пути.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.

Applies to

See also