swingwt.awt
Class Image

java.lang.Object
  extended byswingwt.awt.Image
Direct Known Subclasses:
BufferedImage

public class Image
extends java.lang.Object


Field Summary
protected  Graphics2D gc
           
 org.eclipse.swt.graphics.Image image
           
static int SCALE_AREA_AVERAGING
           
static int SCALE_DEFAULT
           
static int SCALE_FAST
           
static int SCALE_REPLICATE
           
static int SCALE_SMOOTH
           
 
Constructor Summary
Image()
           
 
Method Summary
 Graphics2D createGraphics()
           
 Graphics getGraphics()
           
 int getHeight()
           
 int getHeight(ImageObserver img)
           
 Image getScaledInstance(int width, int height, int hints)
           
 ImageProducer getSource()
           
 int getWidth()
           
 int getWidth(ImageObserver img)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCALE_DEFAULT

public static final int SCALE_DEFAULT
See Also:
Constant Field Values

SCALE_FAST

public static final int SCALE_FAST
See Also:
Constant Field Values

SCALE_SMOOTH

public static final int SCALE_SMOOTH
See Also:
Constant Field Values

SCALE_REPLICATE

public static final int SCALE_REPLICATE
See Also:
Constant Field Values

SCALE_AREA_AVERAGING

public static final int SCALE_AREA_AVERAGING
See Also:
Constant Field Values

image

public org.eclipse.swt.graphics.Image image

gc

protected Graphics2D gc
Constructor Detail

Image

public Image()
Method Detail

getHeight

public int getHeight()

getHeight

public int getHeight(ImageObserver img)

getWidth

public int getWidth()

getWidth

public int getWidth(ImageObserver img)

getScaledInstance

public Image getScaledInstance(int width,
                               int height,
                               int hints)

getGraphics

public Graphics getGraphics()

createGraphics

public Graphics2D createGraphics()

getSource

public ImageProducer getSource()