XAML in a Nutshell (In a Nutshell (OReilly))

PointAnimationUsingPathHierarchy: DependencyObject Freezable Animatable Timeline AnimationTimeline PointAnimationBase

<PointAnimationUsingPath Duration="0:0:10" <PointAnimationUsingPath.PathGeometry> <PathGeometry> <PathGeometry.Figures> <PathFigureCollection> <PathFigure> <PathFigure.Segments> <PathSegmentCollection> <StartSegment Point="10,50" /> <LineSegment Point="200,70"/> </PathSegmentCollection> </PathFigure.Segments> </PathFigure> </PathFigureCollection> </PathGeometry.Figures> </PathGeometry> </PointAnimationUsingPath.PathGeometry> </PointAnimationUsingPath>

<PointAnimationUsingPath .../> animates a visual object along a path.

Attributes

PathGeometry (required)

This PathGeometry element represents the path of the animation.

Категории