public class RotatedPrintingUtils extends Object
| Constructor and Description |
|---|
RotatedPrintingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Dimension |
calculateNewImageDimensionToFitRotatedBoundingBox(double width,
double height,
double angle)
DOCUMENT ME!
|
static BufferedImage |
rotate(BufferedImage i,
double angleInDeegrees)
DOCUMENT ME!
|
static BufferedImage |
rotateAndCrop(Image biggerImage,
double angle,
double width,
double height,
int baseDpi,
int targetDpi)
DOCUMENT ME!
|
static BufferedImage |
toBufferedImage(Image img)
DOCUMENT ME!
|
public static BufferedImage rotateAndCrop(Image biggerImage, double angle, double width, double height, int baseDpi, int targetDpi)
biggerImage - DOCUMENT ME!angle - DOCUMENT ME!width - DOCUMENT ME!height - DOCUMENT ME!baseDpi - DOCUMENT ME!targetDpi - DOCUMENT ME!public static BufferedImage rotate(BufferedImage i, double angleInDeegrees)
i - DOCUMENT ME!angleInDeegrees - DOCUMENT ME!public static Dimension calculateNewImageDimensionToFitRotatedBoundingBox(double width, double height, double angle)
width - DOCUMENT ME!height - DOCUMENT ME!angle - DOCUMENT ME!public static BufferedImage toBufferedImage(Image img)
img - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.