Inheritance diagram for CanvasFigureAggregate::
Public Methods | |
CanvasFigureAggregate (ScribbleFigure[] figs) | |
CanvasFigureAggregate (ScribbleFigure[] figs, int mode, Color color) | |
CanvasFigureAggregate (Vector figs) | |
CanvasFigureAggregate (Vector figs, int mode, Color color) | |
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) |
void | setDimension (double w, double h) |
Resize CanvasObject to width 'w' and height 'h'. More... | |
void | setZoomFactor (double zoomFactor) |
Scale CanvasObject according to 'zoomFactor'. 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) |
void | setStroke (boolean stroke) |
void | setLineWidth (float linew) |
void | setTransparency (float trans) |
void | setDrawMode (int mode) |
Set current draw-mode. More... | |
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) |
Protected Methods | |
void | initAggregate (int mode, Color color) |
void | setFigures (ScribbleFigure[] figs) |
void | setFigures (Vector figs) |
void | setBox () |
boolean | noneHaveColor () |
Protected Attributes | |
Vector | figures = 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. |
|
Scale CanvasObject according to 'zoomFactor'. The internal ICS values are taken as base values to calculate the associated CCS values. Reimplemented from CanvasObject. |
|
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. |
|
Reimplemented from ScribbleFigure. |
|
Reimplemented from ScribbleFigure. |
|
Reimplemented from ScribbleFigure. |
|
Set current draw-mode.
Reimplemented from CanvasObject. |
|
To be removed.
Reimplemented from CanvasObject. |
|
To be removed.
Reimplemented from CanvasObject. |
|
Reimplemented from ScribbleObject. |
|
Reimplemented from ScribbleObject. |
|
|
|
|
|
|
|
|
|
|
|
|