public class ImageRotationSet
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NUMBER_OF_ROTATIONS |
| Constructor and Description |
|---|
ImageRotationSet(java.awt.Image original) |
| Modifier and Type | Method and Description |
|---|---|
ImageRotation |
getIndexedRotation(int index)
Gets the numbered rotation; creates it if it hasn't been gotten before.
|
ImageRotation |
getRotation(float theta)
Gets the rotation closest to the given theta in radians.
|
public static final int NUMBER_OF_ROTATIONS
public ImageRotation getIndexedRotation(int index)
public ImageRotation getRotation(float theta)