DirectAnimation Animated Header --Rectangles DirectAnimation Animated Header --Rectangles* Microsoft DirectAnimation SDK
*Index  *Topic Contents
*Previous Topic: Pies
*Next Topic: Rotations

Rectangles


This example demonstrates how to create a rectangle and turn it into an image that can be rendered. An animated rectangle, with a width that varies over time is also shown. Finally, a rectangle is used as a path rather than as an image. A line of text traces out the path. (This also demonstrates the FollowPath function.)

To see the source code, right-click the title above the button and choose View Source from the menu that appears.


© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page