Inheritance diagram for CanvasChain::

| Public Methods | |
| CanvasChain (int[] chain, double x, double y) | |
| CanvasChain (int[] chain, double x, double y, Color color) | |
| CanvasChain (int[] chain, double x, double y, Color color, boolean stroke, float linew, float trans, double ccs_scale) | |
| 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... | |
| void | doMove (double w, double h) | 
| Move CanvasObject 'w' positions in x-direction, and 'h' posi- tions in y-direction. More... | |
| void | setColor (Color newColor) | 
| double | getFirstX () | 
| double | getFirstY () | 
| double[] | getXPoints () | 
| double[] | getYPoints () | 
| int | getNrPoints () | 
| int[] | getChain () | 
| boolean | isCircular () | 
| void | setCircular (boolean b) | 
| 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) | 
| void | doMove (int w, int h) | 
| int | changePoint (int index, int x, int y) | 
| Protected Methods | |
| void | initChain (int[] chain, double x, double y) | 
| void | transformICStoCCS () | 
| Perform a full ICS to CCS coordinate transformation. More... | |
| void | makeFreemanPoly (double x, double y, int[] chain) | 
| void | makePixelChain () | 
| void | setBox () | 
| Protected Attributes | |
| int[] | freeman = null | 
| double[] | ics_xPoints = null | 
| double[] | ics_yPoints = null | 
| Polygon | ccs_poly = null | 
| boolean | circular = false | 
| Image | image = null | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | ||||||||||||||||||||
| 
 | 
| 
 | ||||||||||||||||||||||||||||||||||||
| 
 | 
| 
 | 
| Draw CanvasObject on 'g', using internal CCS values. 
 Reimplemented from CanvasObject. | 
| 
 | 
| Return an identical copy of this CanvasObject. 
 Reimplemented from CanvasObject. | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| Resize CanvasObject to width 'w' and height 'h'. Parameters are assumed Image Coordinate System values. Reimplemented from ScribbleObject. | 
| 
 | 
| Round internal ICS values to nearest natural number. Although the ICS values are changed, they are not converted to 'integer' internally. Reimplemented from ScribbleObject. | 
| 
 | ||||||||||||
| Move CanvasObject 'w' positions in x-direction, and 'h' posi- tions in y-direction. Parameters are assumed Image Coordinate System values. Reimplemented from ScribbleObject. | 
| 
 | 
| 
 Reimplemented from ScribbleFigure. | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| To be removed. 
 Reimplemented from CanvasObject. | 
| 
 | ||||||||||||
| To be removed. 
 Reimplemented from CanvasObject. | 
| 
 | ||||||||||||
| 
 Reimplemented from ScribbleObject. | 
| 
 | ||||||||||||
| 
 Reimplemented from ScribbleObject. | 
| 
 | ||||||||||||||||
| 
 Reimplemented from ScribbleFigure. | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | 
| Perform a full ICS to CCS coordinate transformation. 
 Reimplemented from CanvasObject. | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
 1.2.12 written by Dimitri van Heesch,
 © 1997-2001
1.2.12 written by Dimitri van Heesch,
 © 1997-2001