DoubleAnimationUsingPath


DoubleAnimationUsingPathHierarchy: DependencyObject Freezable Animatable Timeline AnimationTimeline DoubleAnimationBase

     <DoubleAnimationUsingPath         Duration="0:0:10"         Source="Angle|X|Y">         <DoubleAnimationUsingPath.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>         </DoubleAnimationUsingPath.PathGeometry>     </DoubleAnimationUsingPath> 

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

Attributes


PathGeometry (required)

This PathGeometry element represents the path of the animation.


Source (required)

This attribute specifies which output property of the path this animation will represent.




XAML in a Nutshell
XAML in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596526733
EAN: 2147483647
Year: 2007
Pages: 217

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net