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

CanvasHxPolyline2d Class Reference

Inheritance diagram for CanvasHxPolyline2d::

CanvasFigure CanvasObject List of all members.

Public Methods

 CanvasHxPolyline2d (String polyName)
String getSaName ()
 Overrides CanvasObject interface. More...

int getClosed ()
int getNrPoints ()
double getPX (int index)
double getPY (int index)

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 & Destructor Documentation

CanvasHxPolyline2d::CanvasHxPolyline2d String    polyName [inline]
 


Member Function Documentation

String CanvasHxPolyline2d::getSaName   [inline]
 

Overrides CanvasObject interface.

Reimplemented from CanvasObject.

int CanvasHxPolyline2d::getClosed   [inline]
 

int CanvasHxPolyline2d::getNrPoints   [inline]
 

double CanvasHxPolyline2d::getPX int    index [inline]
 

double CanvasHxPolyline2d::getPY int    index [inline]
 

Shape CanvasHxPolyline2d::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 CanvasHxPolyline2d::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:23 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001