| java.lang.Object java.awt.Image java.awt.MWImage
All known Subclasses: java.awt.MWSubimage, java.awt.MWOffscreenImage,
Constructor Summary | |
| MWImage(int width, int height, MWGraphicsConfiguration gc) Creates an offscreen image of the specified width and height. | | MWImage(ImageProducer imageProd) Creates an image from the supplied image producer. | | MWImage(MWImage image) Creates a new MWImage from an existing one.
This constructor only exists for MWSubImage class and should not be used for any other purpose. |
Method Summary | |
synchronized void | addObserver(ImageObserver observer) | void | drawImage(int psd, int x, int y, Color bg) | void | drawImage(int psd, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bg) | protected void | finalize() | public synchronized void | flush() | public ColorModel | getColorModel() | public Graphics | getGraphics() | public int | getHeight() | public int | getHeight(ImageObserver observer) | public Object | getProperty(String name) | public Object | getProperty(String name, ImageObserver observer) | public String[] | getPropertyNames() | public int | getRGB(int x, int y) | public int[] | getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) | public ImageProducer | getSource() | int | getStatus(ImageObserver observer) | public BufferedImage | getSubimage(int x, int y, int w, int h) | public int | getType() | public int | getWidth() | public int | getWidth(ImageObserver observer) | boolean | hasError() | public void | imageComplete(int stat) | boolean | isComplete() | native static void | pDrawImage(int psd, int psd_image, int x, int y, Color bg) | synchronized boolean | prepareImage(int width, int height, ImageObserver observer) | public void | setColorModel(ColorModel cm) | public synchronized void | setDimensions(int width, int height) | public void | setHints(int hints) | public void | setPixels(int x, int y, int w, int h, ColorModel cm, byte[] pixels, int off, int scansize) | public void | setPixels(int x, int y, int w, int h, ColorModel cm, int[] pixels, int off, int scansize) | public void | setProperties(Hashtable props) | public synchronized void | setRGB(int x, int y, int rgb) | public void | setRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) | synchronized void | startProduction() | public String | toString() |
REDRAW_COUNT | final static int REDRAW_COUNT(Code) | | |
producer | ImageProducer producer(Code) | | The producer actually used and returned by getProducer. This may be a scaled
image producer if the image was prepared with a specified width and height
or it may be the original image producer if -1 was used for the width and height
to prepareImage.
|
psd | int psd(Code) | | MicroWindows PSD for this image
|
widthheight | int widthheight(Code) | | |
MWImage | MWImage(int width, int height, MWGraphicsConfiguration gc)(Code) | | Creates an offscreen image of the specified width and height. This constructor exists
for the MWOffscreenImage class which is a sub class and should not be called directly.
|
MWImage | MWImage(ImageProducer imageProd)(Code) | | Creates an image from the supplied image producer.
|
MWImage | MWImage(MWImage image)(Code) | | Creates a new MWImage from an existing one.
This constructor only exists for MWSubImage class and should not be used for any other purpose.
|
drawImage | void drawImage(int psd, int x, int y, Color bg)(Code) | | |
drawImage | void drawImage(int psd, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bg)(Code) | | |
finalize | protected void finalize()(Code) | | |
flush | public synchronized void flush()(Code) | | |
getHeight | public int getHeight()(Code) | | |
getRGB | public int getRGB(int x, int y)(Code) | | |
getRGB | public int[] getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code) | | |
getType | public int getType()(Code) | | |
getWidth | public int getWidth()(Code) | | |
hasError | boolean hasError()(Code) | | |
imageComplete | public void imageComplete(int stat)(Code) | | --- Consumer Stuff --- ****
|
isComplete | boolean isComplete()(Code) | | |
pDrawImage | native static void pDrawImage(int psd, int psd_image, int x, int y, Color bg)(Code) | | |
prepareImage | synchronized boolean prepareImage(int width, int height, ImageObserver observer)(Code) | | |
setDimensions | public synchronized void setDimensions(int width, int height)(Code) | | |
setHints | public void setHints(int hints)(Code) | | |
setPixels | public void setPixels(int x, int y, int w, int h, ColorModel cm, byte[] pixels, int off, int scansize)(Code) | | |
setPixels | public void setPixels(int x, int y, int w, int h, ColorModel cm, int[] pixels, int off, int scansize)(Code) | | |
setRGB | public synchronized void setRGB(int x, int y, int rgb)(Code) | | |
setRGB | public void setRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code) | | |
startProduction | synchronized void startProduction()(Code) | | |
|
|