This is a migrated thread and some comments may be shown as answers.

Coverflow - set_scrollAnimationOptions

1 Answer 63 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Rhyss
Top achievements
Rank 1
Rhyss asked on 30 Mar 2011, 08:23 AM
I am trying to find out some informaiton on the 2d transformation matrix that is used in the set_scrollAnimationOptions of a Rotator control.  Specifically what the matrix elements represent and how it effects the coverflow items.  I've used the demo code but it is all trial and error and i can't find ANY documentation on this feature.

any assistance appreciated.
thanks
Jordan

1 Answer, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 30 Mar 2011, 01:51 PM
Hi Jordan,

The transformation matrix for the animation in the RadRotator is the equivalent matrix to the CSS3 transform rule. Here is a brief description of this new CSS rule: https://developer.mozilla.org/en/css/-moz-transform#matrix.
This matrix corresponds to the standard 2d transformation matrix that is used to translate, scale or rotate geometrical objects in space. Here are a few special case matrices:
  • vertical flip - {m11: 1, m12: 0, m21: 0, m22: -1}
  • horizontal flip - {m11: 1, m12: 0, m21: 0, m22: -1}
  • 90o counter-clockwise - {m11: 0, m12: -1, m21: 1, m22: 0}
  • 90o clockwise - {m11: 0, m12: 1, m21: -1, m22: 0}
  • 2x wider - {m11: 2, m12: 0, m21: 0, m22: 1}
  • etc.
The possibilities for manipulating the appearance of the items, having this powerful tool, appear endless.

Best wishes,
Niko
the Telerik team
Tags
Rotator
Asked by
Rhyss
Top achievements
Rank 1
Answers by
Niko
Telerik team
Share this question
or