Back to index

moin  1.9.0~rc2
Public Member Functions | Package Attributes
CH.ifa.draw.figures.PolyLineLocator Class Reference

A poly line figure consists of a list of points. More...

List of all members.

Public Member Functions

 PolyLineLocator (int index)
Point locate (Figure owner)

Package Attributes

int fIndex

Detailed Description

A poly line figure consists of a list of points.

It has an optional line decoration at the start and end.

See also:

Definition at line 20 of file

Constructor & Destructor Documentation

Definition at line 23 of file

        fIndex = index;

Member Function Documentation

Point CH.ifa.draw.figures.PolyLineLocator.locate ( Figure  owner) [inline]

Definition at line 27 of file

        PolyLineFigure plf = (PolyLineFigure)owner;
        // guard against changing PolyLineFigures -> temporary hack
        if (fIndex < plf.pointCount())
            return ((PolyLineFigure)owner).pointAt(fIndex);
        return new Point(0, 0);

Here is the call graph for this function:

Member Data Documentation

Definition at line 21 of file

The documentation for this class was generated from the following file: