Public Methods |
| | CanvasRectangle (double x, double y, double w, double h) |
| | CanvasRectangle (double x, double y, double w, double h, Color color) |
| | CanvasRectangle (double x, double y, double w, double h, Color color, boolean square) |
| | CanvasRectangle (double x, double y, double w, double h, int mode, Color color, boolean stroke, float linew, float trans, boolean square, double ccsScale) |
| void | draw (Graphics g) |
| | Draw CanvasObject on 'g', using internal CCS values. More...
|
| Object | clone () |
| | Return an identical copy of this CanvasObject. More...
|
| boolean | isInside (double x, double y) |
| boolean | isNear (double x, double y) |
| void | setDimension (double w, double h) |
| | Resize CanvasObject to width 'w' and height 'h'. More...
|
| void | doPixelFit (double zoomFactor) |
| | Round internal ICS values to nearest natural number. More...
|
| boolean | isSquare () |
| void | setSquare (boolean square) |
| | CanvasRectangle (int x, int y, int w, int h, int mode, Color color, boolean square, double ccs_scale) |
| boolean | isInsideCcs (int x, int y) |
| | To be removed. More...
|
| boolean | isNearCcs (int x, int y) |
| | To be removed. More...
|
| void | setDimension (int w, int h) |
| int | changePoint (int index, int x, int y) |
Protected Attributes |
| boolean | square = false |