The Artima Developer Community
Sponsored Link

Java Answers Forum
Java 2D: how to move drawn shape when image is rotated

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Anthony Siu

Posts: 1
Nickname: afaichun
Registered: Sep, 2002

Java 2D: how to move drawn shape when image is rotated Posted: Sep 3, 2002 9:43 PM
Reply to this message Reply
Advertisement
Hi,

I would like to ask if I draw a shape on an image, and then I rotate the image. Is there any way to move the image after the rotation? The way I do can only move the image when the image is static. My method is keep track of the coordination of the shape. But when the image is rotated, the shape's coordinates is all mess up. BTW, I am using Java 2D


Please help

Topic: Problem in Core Java Previous Topic   Next Topic Topic: HELP String Tokenizer and Calculations

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use