public final class ImageUtil extends Object
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
getRotatedImage(BufferedImage image,
int rotation)
Return an image rotated by a multiple of 90°.
|
public static BufferedImage getRotatedImage(BufferedImage image, int rotation)
image
- The image to rotate.rotation
- The rotation in degrees.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.