This content has been marked as final. Show 4 replies
Your question's a bit unclear (to me, at least). Are you trying to animate the rotation around a fixed axis (i.e., axis is fixed, but the amount of rotation varies with time), or are you trying to animate the axis itself (the axis about which the rectangle is rotated varies over time). The latter would be a bit unusual but I guess I could see some use cases.
Take a look at a rotation animation example which animates rotation of a node by varying properties of a Rotate transform applied to the node:
Note that a shear transform is different from a rotate transform, normally you would use one transform or the other.