Show more books
This article is part 3 of the series "XNA for Silverlight developers":
In this post Adam Kinney demonstrates the new CompositeTransform class which siplifies the writing of transforms.
One of the features you may have missed that was added to the Silverlight 4 beta is the new CompositeTransform class. The new class provides a simpler way to transform an element, by simply offering a single object to instantiate rather than a group of transforms made for specific transforms. To animate properties, you will no longer need to name multiple Transforms or access them by index (hoping they were added in the expected order).
When you create two or more animations that work on the same property of an object, Silverlight will only use the last of the defined animations. By using transforms you’re able to achieve the same effect anyway.
When you create two or more animations that work on the same property of an object, Silverlight will only use the last of the defined animations.
By using transforms you’re able to achieve the same effect anyway.
LayoutTransformer makes it easy to display content vertically. After adding reference to the toolkit layout assembly . All we have to do is to add our content to the LayoutTransformer and specify our Transform.