Inheritance diagram for CanvasJavaImage::

Public Methods | |
| CanvasJavaImage () | |
| Construct an empty image. More... | |
| CanvasJavaImage (int width, int height) | |
| Construct an empty image. More... | |
| CanvasJavaImage (Image im) | |
| Construct from a Java Image. More... | |
| CanvasJavaImage (BufferedImage im) | |
| Construct from a buffered Java Image. More... | |
| CanvasJavaImage (int[] pixels, double w, double h) | |
| Construct from a set of RGB pixels. More... | |
| CanvasJavaImage (String filename, Component comp) | |
| Construct from a file. More... | |
| void | draw (Graphics g) |
| Draw CanvasObject on 'g', using internal CCS values. More... | |
| Color | getPixel (int x, int y) |
| void | setPixel (int x, int y, Color c) |
| int[] | getPixels (int x, int y, int w, int h) |
| BufferedImage | getSubImage (int x, int y, int w, int h) |
| String[] | getPixelStrings (int x, int y, int w, int h) |
Protected Methods | |
| void | initImage (Image im) |
| void | initImage (int width, int height) |
| void | initImage (int[] pixels, int width, int height) |
The sizes of the java image determine the sizes (in ICS) of the CanvasHxImage. The draw method of this class actually draws _bufIm at the CCS coordinates. So, Graphics.drawImage does the actual zooming of the pixel data.
|
|
Construct an empty image.
|
|
||||||||||||
|
Construct an empty image.
|
|
|
Construct from a Java Image.
|
|
|
Construct from a buffered Java Image.
|
|
||||||||||||||||
|
Construct from a set of RGB pixels.
|
|
||||||||||||
|
Construct from a file. comp is used to get at the ToolKit. |
|
|
Draw CanvasObject on 'g', using internal CCS values.
Reimplemented from CanvasObject. |
|
||||||||||||
|
|
|
||||||||||||||||
|
Reimplemented from CanvasImage. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
Reimplemented from CanvasImage. |
|
||||||||||||||||||||
|
Reimplemented from CanvasImage. |
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001