Inheritance diagram for ScribbleFigure::
Public Methods | |
void | addPoint (double x, double y) |
boolean | removePoint (int index) |
boolean | removeLastPoint () |
boolean | hasNoColor () |
Color | getColor () |
void | setColor (Color newColor) |
boolean | getStroke () |
void | setStroke (boolean stroke) |
boolean | hasLineWidth () |
float | getLineWidth () |
void | setLineWidth (float linew) |
float | getTransparency () |
void | setTransparency (float trans) |
boolean | isComplex () |
boolean | isResizeable () |
Vector | getVisualChangeMethods () |
Builds up a list of functions that are to fill a menu for changing the visualization aspects of an object. More... | |
ScribbleFigure (int x, int y, int w, int h, int mode, Color color, double ccs_scale) | |
ScribbleFigure (int x, int y, int w, int h, int mode, Color color, boolean complex, double ccs_scale) | |
int | changePoint (int index, int x, int y) |
void | addPoint (int x, int y) |
Static Public Attributes | |
final Color | NO_COLOR = (Color)null |
final Color | DEF_COLOR = Color.red |
final float | DEF_LINEW = 1.0f |
final float | DEF_TRANS = 1.0f |
Protected Methods | |
void | initFigure (Color color, boolean stroke, float linew, float trans, boolean complex) |
void | setupDrawMode (Graphics g) |
Setup drawmode for 'g'. More... | |
void | setComplex (boolean complex) |
Protected Attributes | |
boolean | complex = false |
boolean | resizeable = true |
boolean | strokeSet = false |
boolean | hasLineWidth = true |
boolean | hasNoColor = true |
Color | drawColor = NO_COLOR |
float | lineWidth = DEF_LINEW |
float | transparency = DEF_TRANS |
|
|
|
|
|
Reimplemented in CanvasPolyline. |
|
Reimplemented in CanvasColoredPolyline, and CanvasPolyline. |
|
Reimplemented in CanvasPolyline. |
|
|
|
|
|
Reimplemented in CanvasBlob, CanvasChain, CanvasColoredPolyline, CanvasFigureAggregate, and CanvasMask. |
|
|
|
Reimplemented in CanvasFigureAggregate. |
|
|
|
|
|
Reimplemented in CanvasFigureAggregate. |
|
|
|
Reimplemented in CanvasBlob, CanvasFigureAggregate, and CanvasMask. |
|
|
|
|
|
Builds up a list of functions that are to fill a menu for changing the visualization aspects of an object. Classes derived from this one typically add their class-specific methods to their parents' methods by first calling the parent to fill the vector and then add their own. The result is a Vector of CallableMethods. Reimplemented from CanvasObject. Reimplemented in CanvasArrow, CanvasBlob, and CanvasPolyline. |
|
Reimplemented in CanvasArrow, CanvasBlob, CanvasChain, CanvasLine, CanvasMask, CanvasOval, CanvasPolyline, and CanvasRectangle. |
|
Reimplemented in CanvasPolyline. |
|
|
|
Setup drawmode for 'g'.
Reimplemented from CanvasObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|