public class ImageUtils
extends java.lang.Object
ImageUtils class helps the transformation of
Image objects.| Constructor and Description |
|---|
ImageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static javafx.scene.image.Image |
getRotatedImage(javafx.scene.image.Image image,
Direction direction)
Returns a new
Image object which is created by
rotating the given image with degrees defined
by direction. |
public static javafx.scene.image.Image getRotatedImage(javafx.scene.image.Image image,
Direction direction)
Image object which is created by
rotating the given image with degrees defined
by direction.image - the Image to rotatedirection - the direction of rotationImage