org.pentaho.reporting.engine.classic.core.util
Class ImageUtils

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.util.ImageUtils

public final class ImageUtils
extends Object

Provides utility methods for image creation and manipluation.

Author:
Thomas Morgner

Method Summary
static Icon createTransparentIcon(int width, int height)
          Creates a transparent icon.
static BufferedImage createTransparentImage(int width, int height)
          Creates a transparent image.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createTransparentImage

public static BufferedImage createTransparentImage(int width,
                                                   int height)
Creates a transparent image. These can be used for aligning menu items.

Parameters:
width - the width.
height - the height.
Returns:
the created transparent image.

createTransparentIcon

public static Icon createTransparentIcon(int width,
                                         int height)
Creates a transparent icon. The Icon can be used for aligning menu items.

Parameters:
width - the width of the new icon
height - the height of the new icon
Returns:
the created transparent icon.