Application #90. Animation
This application demonstrates how to do animation with GDI+, including classic frame animation, drawing and moving a shape on the screen, and animating text with a gradient fill. The sample form offers three animations: a winking eye, a bouncing ball, and a text animation. (The text animation is shown in Figure 10-6.)
Figure 10-6. Creating an animated gradient in text or any other shape is easy—you simply change its point of origin in a loop.
Building Upon...Application #85: Work with GDI+ Pens Application #86: Work with GDI+ Brushes Application #88: Work with GDI+ to Manipulate Images |
Get 101 Microsoft® Visual Basic® .NET Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.