| java.lang.Object org.jfree.report.layout.output.RenderUtility
RenderUtility | public class RenderUtility (Code) | | Creation-Date: 12.05.2007, 15:58:43
author: Thomas Morgner |
Method Summary | |
public static long | computeHorizontalAlignment(ElementAlignment alignment, long width, long imageWidth) | public static long | computeVerticalAlignment(ElementAlignment alignment, long height, long imageHeight) | public static ImageContainer | createImageFromDrawable(Drawable drawable, StrictBounds rect, RenderNode box, OutputProcessorMetaData metaData) | public static byte[] | encodeImage(Image image) Encodes the given image as PNG, stores the image in the generated file and returns the name of the new image file. | public static boolean | isFontSmooth(StyleSheet styleSheet, OutputProcessorMetaData metaData) | public static Image | scaleImage(Image img, int targetWidth, int targetHeight, Object hintValue, boolean higherQuality) |
computeHorizontalAlignment | public static long computeHorizontalAlignment(ElementAlignment alignment, long width, long imageWidth)(Code) | | |
computeVerticalAlignment | public static long computeVerticalAlignment(ElementAlignment alignment, long height, long imageHeight)(Code) | | |
encodeImage | public static byte[] encodeImage(Image image)(Code) | | Encodes the given image as PNG, stores the image in the generated file and returns the name of the new image file.
Parameters: image - the image to be encoded the name of the image, never null. throws: IOException - if an IO erro occured. |
scaleImage | public static Image scaleImage(Image img, int targetWidth, int targetHeight, Object hintValue, boolean higherQuality)(Code) | | |
|
|