Public Methods |
| | CanvasColoredPolyline (double[] xpoints, double[] ypoints, int npoints, Color[] colors) |
| | CanvasColoredPolyline (double[] xpoints, double[] ypoints, int npoints, Color[] colors, boolean closed) |
| | CanvasColoredPolyline (double[] xpoints, double[] ypoints, int npoints, Color[] colors, boolean stroke, float linew, float trans, boolean closed, 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...
|
| void | setColor (Color color) |
| void | addPoint (double x, double y, Color color) |
| boolean | removePoint (int index) |
| | CanvasColoredPolyline (int[] xpoints, int[] ypoints, int npoints, Color[] colors, boolean closed, double ccs_scale) |
| void | addPoint (int x, int y, Color color) |
Protected Methods |
| void | initColoredPoly (Color[] colors) |
| void | transformICStoCCS () |
| | Perform a full ICS to CCS coordinate transformation. More...
|
| void | transformCCStoICS () |
| | Perform a full CCS to ICS coordinate transformation. More...
|
| void | setMidPoints () |
Protected Attributes |
| Color[] | colors = null |
| int[] | midXPoints = null |
| int[] | midYPoints = null |