org.jfree.report.util
Class ImageUtils
java.lang.Object
org.jfree.report.util.ImageUtils
Provides utility methods for image creation and manipluation.
createTransparentIcon
public static Icon createTransparentIcon(int width,
int height)
Creates a transparent icon. The Icon can be used for aligning menu items.
width
- the width of the new iconheight
- the height of the new icon
- the created transparent icon.
createTransparentImage
public static BufferedImage createTransparentImage(int width,
int height)
Creates a transparent image. These can be used for aligning menu items.
width
- the width.height
- the height.
- the created transparent image.