org.jhotdraw.draw.locator
Class BezierPointLocator
java.lang.Object
org.jhotdraw.draw.locator.AbstractLocator
org.jhotdraw.draw.locator.BezierPointLocator
- All Implemented Interfaces:
- java.io.Serializable, Locator, DOMStorable
public class BezierPointLocator
- extends AbstractLocator
A Locator
which locates a node on the bezier path of a BezierFigure.
- Version:
- $Id: BezierPointLocator.java -1 $
- Author:
- Werner Randelshofer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BezierPointLocator
public BezierPointLocator(int index)
BezierPointLocator
public BezierPointLocator(int index,
int coord)
locate
public java.awt.geom.Point2D.Double locate(Figure owner)
- Description copied from interface:
Locator
- Locates a position on the provided figure.
- Returns:
- a point on the figure.
write
public void write(DOMOutput out)
read
public void read(DOMInput in)