Rotate instead.@Deprecated public class ImageRotation extends Rotate
An image rotation instance holds a global state for all drawings. Several instances can be created at the same time. However a default instance is created on MicroUI framework startup and is always available.
| Modifier and Type | Field and Description |
|---|---|
static ImageRotation |
Singleton
Deprecated.
Default instance created on MicroUI framework startup.
|
| Constructor and Description |
|---|
ImageRotation()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawBilinear(GraphicsContext gc,
Image image,
int x,
int y,
int anchor)
Deprecated.
|
void |
drawNearestNeighbor(GraphicsContext gc,
Image image,
int x,
int y,
int anchor)
Deprecated.
|
drawBilinear, drawNearestNeighbor, getAngle, getRotationX, getRotationY, setAngle, setRotationCentergetAlpha, getTranslateX, getTranslateY, isMirrored, resetAlpha, resetTranslate, setAlpha, setMirror, translatepublic static final ImageRotation Singleton
@Deprecated public void drawBilinear(GraphicsContext gc, Image image, int x, int y, int anchor)
Rotate.drawBilinear(GraphicsContext, Renderable, int, int, int) instead.Image applying the current rotation.@Deprecated public void drawNearestNeighbor(GraphicsContext gc, Image image, int x, int y, int anchor)
Rotate.drawNearestNeighbor(GraphicsContext, Renderable, int, int, int) instead.Image applying the current rotation. v