## 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.

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