|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.ImageRotation
public class ImageRotation
A rotated image, generally used for icons. Handles the various issues of enlarging the canvas width and heigth, changing the center point offsets, etc. Many properties are public for speed. Don't abuse the privilege.
| Field Summary | |
|---|---|
int |
height
|
java.awt.Image |
image
|
int |
offsetX
|
int |
offsetY
|
float |
rotation
|
int |
width
|
| Constructor Summary | |
|---|---|
ImageRotation(java.awt.Image unrotatedImage,
float rotation)
Create a new ImageRotation with the given base image and rotation (in radians). |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.awt.Image image
public int offsetX
public int offsetY
public int width
public int height
public float rotation
| Constructor Detail |
|---|
public ImageRotation(java.awt.Image unrotatedImage,
float rotation)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||