Freigeben über


Rendering Text On A Path With WPF

Text is more than just its literal meaning. By treating text characters as graphical objects, the programmer can make text dance and fly on the screen.

In the December 2008 issue of MSDN Magazine, Charles Petzold shows you how to position text characters along a curved line with Windows Presentation Foundation (WPF) and animate the individual points defining the path to watch the characters bounce around in response.

 

You can browse the sample code online.