Raphael.FreeTransform
Raphael.FreeTransform copied to clipboard
One direction rotation
Hi,
I tried to make a rotation only in one direction from 0 till 270 degrees. When I set the rotate range from 0 till 270 the rotation is jumping after 180 degrees.
Is this a bug or a feature? How can I fix this.
Thanks.
FreeTransform converts angles to a value between -180 and 180 so try keeping the values between those. For instance -90, 0 might do what you need without jumping.
Hi,
with the settings -90, 0 I get only a rotation between 0 and 90 degrees to the left. I need a rotation to the right. Do I need some other settings?
Did you try some other combinations, e.g. 0, 90, 90, 180, -180, -90 etc.?
I tried a lot of combinations. With the positive values I get rotations to the right and negative values rotations to the left.
Right, so you want to rotate three quarters clock-wise. The current implementation doesn't allow you to do this, which I agree is a bug. I'll see if I can improve it.