Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Rotating image affects location

user8929955Sep 30 2013 — edited Oct 10 2013

Following up on the animated half image and placing labels on the curve I finally got the layout right. Though the curious thing is, when rotating the wheel, the control y position changes.

First I thought that this might be a similar effect, that could be solved with setting the inset, but that is not true.

My theory is that, as the image is square, when the square rotated by 45 degrees the height is larger. How can I counteract this. I tried to update the translateY property but that had no effect.

This post has been answered by Pavel Safrata-Oracle on Oct 10 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 7 2013
Added on Sep 30 2013
2 comments
346 views