Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Instant Silverlight 5 Animation

You're reading from  Instant Silverlight 5 Animation

Product type Book
Published in Jan 2013
Publisher Packt
ISBN-13 9781849687140
Pages 110 pages
Edition 1st Edition
Languages
Author (1):
Nick Polyak Nick Polyak
Profile icon Nick Polyak

Transforms


Silverlight provides a powerful set of transforms to apply to the visual object. The following is a full set of 2D transforms:

  • TranslateTransform: This shifts an object in a 2D plane.

  • ScaleTransform: This scales (or resizes) the object by the ScaleX factor along the X-axis and the ScaleY factor along the Y-axis.

  • SkewTransform: Skewing along the X-axis turns every vector orthogonal to the X-axis by the same angle defined by AngleX, and expands its length so that its Y coordinate stays the same. The AngleY parameter of the transform is in charge of skewing along the Y-axis.

  • RotateTransform: This rotates an object by the Angle parameter.

  • MatrixTransform: This is a generic transform that can represent any linear transformation and translation within a 2D plane.

We previously used RotateTransform to rotate the rectangle.

There is also the PlaneProjection transform imitating the moving of an object in a 3D space. We will describe this transform in detail later in the book.

You have been reading a chapter from
Instant Silverlight 5 Animation
Published in: Jan 2013 Publisher: Packt ISBN-13: 9781849687140
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}