Inheritance diagram for CanvasImage::
Public Methods | |
CanvasImage () | |
Construct an empty image. More... | |
CanvasImage (double x, double y, double w, double h) | |
CanvasImage (double x, double y, double w, double h, double ccsScale) | |
Object | clone () |
Implements CanvasObject abstract function. More... | |
boolean | isInside (double x, double y) |
Implements CanvasObject "interface". More... | |
boolean | isNear (double x, double y) |
Implements CanvasObject "interface". More... | |
abstract void | setPixel (int x, int y, Color c) |
abstract BufferedImage | getSubImage (int x, int y, int w, int h) |
abstract String[] | getPixelStrings (int x, int y, int w, int h) |
CanvasImage (int x, int y, int w, int h, double ccsScale) | |
boolean | isInsideCcs (int x, int y) |
Implements CanvasObject "interface". More... | |
boolean | isNearCcs (int x, int y) |
Implements CanvasObject "interface". More... | |
void | moveImage (double x, double y) |
Moves the image to the (x,y) position, keeping current properties. More... | |
Protected Methods | |
void | setImageDim (double x, double y, double w, double h, double s) |
void | setImageDim (double w, double h) |
|
Construct an empty image.
|
|
00041 { 00042 super(x, y, x + w, y + h); 00043 } |
|
00047 { 00048 super(x, y, x + w, y + h, 0, ccsScale); 00049 } |
|
00100 { 00101 super(x, y, x + w, y + h, 0, ccsScale); 00102 } |
|
Implements CanvasObject abstract function. This side of the tree is not clonable, nor need it be? Reimplemented from CanvasObject.
00056 { 00057 return null; 00058 } |
|
Implements CanvasObject "interface".
00064 { 00065 return inBoundingBox(x, y); 00066 } |
|
Implements CanvasObject "interface".
00072 { 00073 return inBoundingBox(x, y); 00074 } |
|
Reimplemented in CanvasHxHistogram3d, CanvasHxImage, CanvasHxImageLarge, CanvasJavaImage, CanvasCorbaImage, and CanvasCorbaSequence. |
|
Reimplemented in CanvasHxHistogram3d, CanvasHxImage, CanvasHxImageLarge, CanvasJavaImage, CanvasCorbaImage, and CanvasCorbaSequence. |
|
Reimplemented in CanvasHxHistogram3d, CanvasHxImage, CanvasHxImageLarge, CanvasJavaImage, CanvasCorbaImage, and CanvasCorbaSequence. |
|
Implements CanvasObject "interface".
Reimplemented from CanvasObject.
00108 { 00109 return inBoundingBoxCcs(x, y); 00110 } |
|
Implements CanvasObject "interface".
Reimplemented from CanvasObject.
00116 { 00117 return inBoundingBoxCcs(x, y); 00118 } |
|
Moves the image to the (x,y) position, keeping current properties.
Reimplemented in CanvasHxImage, and CanvasJavaImage.
00123 { 00124 setImageDim(x, y, getWidth(), getHeight(), getZoomFactor()); 00125 } |
|
00131 { 00132 setX1(x); 00133 setY1(y); 00134 // setWidth(w); 00135 // setHeight(h); 00136 setX2(x + w); 00137 setY2(y + h); 00138 setStartX(x); 00139 setStartY(y); 00140 00141 setZoomFactor(s); 00142 00143 setTransformOK(false); 00144 } |
|
00148 { 00149 setImageDim(Converter.ICS_ORIGIN, Converter.ICS_ORIGIN, w, h, getZoomFactor()); 00150 } |