org.jtgl.micro
Class ImageUtil

java.lang.Object
  extended by org.jtgl.micro.ImageUtil
Direct Known Subclasses:
DefaultImageUtil

public abstract class ImageUtil
extends java.lang.Object

Provides various image manipulation methods (Scaling at this moment)

Author:
Manuel Polo (manuel_polo at yahoo dot es)

Constructor Summary
ImageUtil(MappletContext mappletContext)
          Creates a new instance of ImageUtil
 
Method Summary
protected  JTGLImage createImage(int width, int height)
           
protected  JTGLImage createImage(JTGLImage image)
           
 JTGLImage createScaledImage(JTGLImage imageSrc, int width, int height)
           
abstract  JTGLImage createScaledImage(JTGLImage imageSrc, int width, int height, boolean inmutableImage)
           
abstract  int getMaxScalingQuality()
           
abstract  int getMinScalingQuality()
           
abstract  void setMaxScalingQuality(int quality)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageUtil

public ImageUtil(MappletContext mappletContext)
Creates a new instance of ImageUtil

Method Detail

getMaxScalingQuality

public abstract int getMaxScalingQuality()

getMinScalingQuality

public abstract int getMinScalingQuality()

setMaxScalingQuality

public abstract void setMaxScalingQuality(int quality)

createScaledImage

public abstract JTGLImage createScaledImage(JTGLImage imageSrc,
                                            int width,
                                            int height,
                                            boolean inmutableImage)

createScaledImage

public final JTGLImage createScaledImage(JTGLImage imageSrc,
                                         int width,
                                         int height)

createImage

protected JTGLImage createImage(int width,
                                int height)

createImage

protected JTGLImage createImage(JTGLImage image)