Partilhar via


Animate the points on a path or clipping path

In Microsoft Expression Blend 2, you can now animate the points (or vertices) on a path object. For example, you could animate the points of a clipping path to gradually reveal the object underneath the clipping path. You could convert text in a TextBlock to path objects, and then animate the letters to change them into other shapes, perhaps even reversing the storyboard so that you start with shapes that change into letters.

Path objects are created by the Pen Cc296372.894f8612-e0ed-4e00-84cf-a9bc8f38fc54(en-us,Expression.10).png tool, the Pencil Cc296372.509dc167-734f-46c9-b012-987ee63450cd(en-us,Expression.10).png tool, and by converting other objects (such as shapes or text) to paths.

To animate the points on a path or clipping path

  1. If you do not have a path object on the artboard, you can create one using one of the following options:

  2. Open the storyboard to which you want to add the path animation timeline, or create a new storyboard.

  3. Under Objects and Timeline, select the path object that you want to animate.

  4. In the Toolbox, select the Direct Selection Cc296372.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.10).png tool. The points of your path object are identified on the artboard by small squares.

    Cc296372.9ac35d28-e749-4032-9946-a19e62905b71(en-us,Expression.10).png

  5. Move the timeline playhead Cc296372.5626c9eb-40bb-450a-9ca1-3678e5abe429(en-us,Expression.10).png to the location on the timeline where you want to record a change in one of the points.

  6. On the artboard, use your mouse to drag, or ALT+drag, individual points and line segments to new locations. You can also select the Pen Cc296372.894f8612-e0ed-4e00-84cf-a9bc8f38fc54(en-us,Expression.10).png tool to add or remove points on the path.

    Note

    If you add or remove points when in timeline-recording mode, the results take effect from the start of the timeline. For example, removing a point changes the starting shape of the path as if you had removed the point when not in timeline-recording mode.

    For a list of the different ways that you can modify a path, see Pen and direct selection usage.

    Cc296372.7956fc51-fea6-4f6d-96e6-1ee13d7f6ea6(en-us,Expression.10).png

  7. Continue moving the timeline playhead Cc296372.5626c9eb-40bb-450a-9ca1-3678e5abe429(en-us,Expression.10).png and modifying points until you complete your animation.

See also

Concepts

Pen and direct selection usage

Test a storyboard

Apply, modify, or remove a clipping path