Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

CanvasHxBlob2d Class Reference

Display a HxBlob2d (C++ blob). More...

Inheritance diagram for CanvasHxBlob2d::

CanvasFigure CanvasObject List of all members.

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...


Detailed Description

Display a HxBlob2d (C++ blob).


Constructor & Destructor Documentation

CanvasHxBlob2d::CanvasHxBlob2d String    name [inline]
 

Constructor.


Member Function Documentation

void CanvasHxBlob2d::draw Graphics    g [inline, virtual]
 

Implements CanvasObject "interface".

Reimplemented from CanvasFigure.

String CanvasHxBlob2d::getSaName   [inline]
 

Overrides CanvasObject interface.

Reimplemented from CanvasObject.

void CanvasHxBlob2d::setColor Color    color [inline]
 

Override CanvasFigure interface to update the color of the mask.

The color of the chain is set to the inverted color.

Reimplemented from CanvasFigure.

void CanvasHxBlob2d::setTransparency float    trans [inline]
 

Override CanvasFigure interface to update the transparency of the mask.

Reimplemented from CanvasFigure.

void CanvasHxBlob2d::setShowMask boolean    b [inline]
 

void CanvasHxBlob2d::setShowChain boolean    b [inline]
 

int CanvasHxBlob2d::getContourX   [inline]
 

int CanvasHxBlob2d::getContourY   [inline]
 

int CanvasHxBlob2d::getContourLength   [inline]
 

int CanvasHxBlob2d::getHxBlobXmin   [inline]
 

int CanvasHxBlob2d::getHxBlobYmin   [inline]
 

int CanvasHxBlob2d::getHxBlobWidth   [inline]
 

int CanvasHxBlob2d::getHxBlobHeight   [inline]
 

Vector CanvasHxBlob2d::getVisualChangeMethods   [inline]
 

Overrides CanvasObject interface.

Extends the list of callable functions obtained from the parent with the functions for this class.

Reimplemented from CanvasFigure.

Shape CanvasHxBlob2d::getShape   [inline, protected, virtual]
 

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.

boolean CanvasHxBlob2d::hitOnStroke   [inline, protected, virtual]
 

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.


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 14:14:22 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001