de.laures.cewolf.util
Class ImageHelper

java.lang.Object
  extended by de.laures.cewolf.util.ImageHelper

public class ImageHelper
extends Object

Some simple image rendering helper methods.

Author:
Guido Laures

Method Summary
static BufferedImage createImage(int width, int height)
           
static boolean hasAlpha(Image image)
           
static BufferedImage loadBufferedImage(String fileName)
           
static Image loadImage(String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadImage

public static final Image loadImage(String fileName)

loadBufferedImage

public static BufferedImage loadBufferedImage(String fileName)

hasAlpha

public static boolean hasAlpha(Image image)

createImage

public static BufferedImage createImage(int width,
                                        int height)


Copyright © 2012. All Rights Reserved.