All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface CH.ifa.draw.standard.LabelSlotLocator

public interface LabelSlotLocator
A LabelSlotLocator provides a method for computing a position on the associated line and a method for computing an off-line position relative to that point.


Method Index

 o displace(Point, Point)
Retuns a relative position off the line from p1 to p2.
 o locate(Point, Point)
Returns a point on the line from p1 to p2.

Methods

 o locate
 public abstract Point locate(Point p1,
                              Point p2)
Returns a point on the line from p1 to p2.

 o displace
 public abstract Point displace(Point p1,
                                Point p2)
Retuns a relative position off the line from p1 to p2.


All Packages  Class Hierarchy  This Package  Previous  Next  Index