Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I animate text on a circular path in winrt?

I'm trying to animate a text on a circular path in a Windows Store App (with C#) for Win8.1. Although there are some examples on the internet on how to do it with Silverlight and WPF, those don't seem to work at all in WinRT (missing a lot of methods for example).

When searching for a solution I also found the Stackoverflow question below, but it only applies to Windows 8.0 and not Windows 8.1, so I was unable to get it working.

how to create motion of text along Path animation in winrt application?

Is there any solution for this without re-implementing everything from scratch?

like image 455
Dinis Vieira Avatar asked Nov 11 '22 02:11

Dinis Vieira


1 Answers

Check out the CascadingTextBlock control in WinRT XAML Toolkit for an example how to break up one TextBlock into multiple. You'd just need to change the way the transforms are animated. If your text is a constant string - it might be best to just create the animation in Blend - arrange multiple single letter TextBlocks on a circle and design the animation using the provided tools.

like image 183
Filip Skakun Avatar answered Nov 14 '22 23:11

Filip Skakun