@OpenApiAll
public interface IFormatterWrapper
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getBounds(ITool.RetainedString imageContent)
Return the image bounds from image content.
|
java.awt.Rectangle |
getPaperBounds(int dpi)
Return the size of paper bounds in pixel.
|
Image |
rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter)
Rotates an image by a specific angle.
|
Image |
scale(Image image,
double sx,
double sy)
Return the content of transformed image.
|
Image rotateImage(Image image, int degrees, boolean bestQualityOrVecter)
image
- the image to be rotateddegrees
- the angle of rotation can be positive or negativebestQualityOrVecter
- to check best quality or vector imageImage rotateImage(Image image, int degrees)
image
- the image to be rotateddegrees
- the angle of rotation can be positive or negativeImage scale(Image image, double sx, double sy)
image
- report imagesx
- the amount by which X coordinates in subsequent rendering operations are multiplied relative to
previous rendering operations.sy
- the amount by which Y coordinates in subsequent rendering operations are multiplied relative to
previous rendering operations.java.awt.Rectangle getBounds(ITool.RetainedString imageContent)
imageContent
- content of imagejava.awt.Rectangle getPaperBounds(int dpi)
dpi
- DPI valueCopyright © 2010 - No Magic Asia