Animate the vertices of a path

Animate the vertices of a path

Expression Studio 2.0

This page applies to Silverlight 1 projects only

You can animate the vertices (or points) on a path to create shapes that change.

  1. In your Silverlight 1.0 project, switch to the Page.xaml document.

  2. If your storyboard is no longer open, click the Open a Storyboard Cc296374.d4531c86-5048-481c-a1ca-29af202d28e7(en-us,Expression.10).png button under Objects and Timeline, and then select Storyboard1 from the storyboard picker.

  3. Click the Direct Selection Cc296374.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.10).png tool in the Toolbox so that you can select individual points (or vertices) on the MyPath object.

  4. Move the timeline playhead to the 1-second mark, and then, on the artboard, hold the ALT key when you drag one of the points on the MyPath object. Expand the MyPath object under Objects and Timeline so that you can see the child object that is named Data, on which the new keyframe was created.


    You can repeat this step at different points on the timeline.

  5. Select a keyframe under Objects and Timeline, and then under Easing in the Properties panel, drag the endpoints of the spline curve to modify the easing behavior of the keyframe.

  6. Test the changes to your animation by pressing F5 and clicking in the browser window to trigger the animation storyboard.

    You can use vertex animation on any path object, including clipping paths. Vertex animation is also supported in Windows Presentation Foundation (WPF) projects.

Community Additions

© 2016 Microsoft