jcor

jcor

  • NA
  • 1
  • 0

How do I get rotation angle of non-media element?

Mar 4 2009 2:22 AM

Below is my scenario:

Rectangle myrec = makeNewRectangle(); // returns a new rectangle added to LayoutRoot

rectangleGetsRotatedHere();   // after this method call the rectangle is rotated

Double myrecAngle = ????;   // how do I determine current angle of rotation?

Thank you for your help.