English 中文(简体)
如何在日本航天学会中轮换形象?
原标题:How do i rotate an image in JAVA?

我正开始在宇航科学院举行一场游戏,最终将成为一种roid。 不管怎么说,还是要问 如何轮换形象(如果你知道如何这样做的话,我最终要轮流面对 mo的特性!) 不管怎么说,这是装饰形象的用法:

ImageIcon i = new ImageIcon("C:/image.jpg"); 

Any ideas? a rotate(Image image, int angle){} method would be great! If you knew how to rotate an image towards the mouse, that would be even better! Thanks for your time

最佳回答

页: 1 图像Icons。 你们必须使用ava。 油漆2D和油漆成像。 那么,你可以通过确定亲子变革来轮换。 这里,我更深入地回答了类似武:

动物 选择目标,根据湿法位置调整角:

http://www.egadev.net/page/resources/_/tech/Ga-programming/java-Ga-programming-part-i-the-basics-r1262”rel=“nofollow noreferer”

问题回答

查阅ts tutorial 说明如何利用图像绘制图像 Java 2D Affine Transform 。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签