Inheritance diagram for CanvasHxBlob2d::
Public Methods | |
CanvasHxBlob2d (String name) | |
Constructor. More... | |
void | draw (Graphics g) |
Implements CanvasObject "interface". More... | |
String | getSaName () |
Overrides CanvasObject interface. More... | |
void | setColor (Color color) |
Override CanvasFigure interface to update the color of the mask. More... | |
void | setTransparency (float trans) |
Override CanvasFigure interface to update the transparency of the mask. More... | |
void | setShowMask (boolean b) |
void | setShowChain (boolean b) |
int | getContourX () |
int | getContourY () |
int | getContourLength () |
int | getHxBlobXmin () |
int | getHxBlobYmin () |
int | getHxBlobWidth () |
int | getHxBlobHeight () |
Vector | getVisualChangeMethods () |
Overrides CanvasObject interface. More... | |
Protected Methods | |
Shape | getShape () |
Derived classes have to implement this method to supply the shape that represents the CanvasFigures. More... | |
boolean | hitOnStroke () |
Derived classes have to implement this method to indicate whether they are selected (hit) based on their stroke (border) or on their interior. More... |
|
Constructor.
|
|
Implements CanvasObject "interface".
Reimplemented from CanvasFigure. |
|
Overrides CanvasObject interface.
Reimplemented from CanvasObject. |
|
Override CanvasFigure interface to update the color of the mask. The color of the chain is set to the inverted color. Reimplemented from CanvasFigure. |
|
Override CanvasFigure interface to update the transparency of the mask.
Reimplemented from CanvasFigure. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Overrides CanvasObject interface. Extends the list of callable functions obtained from the parent with the functions for this class. Reimplemented from CanvasFigure. |
|
Derived classes have to implement this method to supply the shape that represents the CanvasFigures. It is used to draw to figure as well as determine which figure is selected (hit) by the cursor within a canvas. Reimplemented from CanvasFigure. |
|
Derived classes have to implement this method to indicate whether they are selected (hit) based on their stroke (border) or on their interior.
Reimplemented from CanvasFigure. |