简体   繁体   中英

How to select a figure to move, rotate and scale with Java2D

I have problems that are not as selecting a figure and that figure selected apply a rotation as many figures as I do not do the following as the first two points and I have but not the third:

  • The program should allow multiple draw figures in the plane.
  • Each time you insert a figure in the plane should ask the dimensions of the figure and the coordinates in the insertion.
  • Once inserted the figure the program should allow the selected shape transformations, rotations, translations and scaling.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM