uci.gef
Class PathConvPercentPlusConst

java.lang.Object
  |
  +--uci.gef.PathConv
        |
        +--uci.gef.PathConvPercentPlusConst

public class PathConvPercentPlusConst
extends PathConv

Used to place labels as specific positions along a FigEdge. For example, a label can be placed in the middle of a FigEdge by using 50%.

See Also:
Serialized Form

Fields inherited from class uci.gef.PathConv
_pathFigure
 
Constructor Summary
PathConvPercentPlusConst(Fig theFig, int newPercent, int delta, int newOffset)
           
 
Method Summary
 void setClosestPoint(Point newPoint)
           
 void setPercentOffset(int newPercent, int newOffset)
           
 void stuffPoint(Point res)
           
 
Methods inherited from class uci.gef.PathConv
applyOffsetAmount, getOffsetAmount, getPoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathConvPercentPlusConst

public PathConvPercentPlusConst(Fig theFig,
                                int newPercent,
                                int delta,
                                int newOffset)
Method Detail

stuffPoint

public void stuffPoint(Point res)
Overrides:
stuffPoint in class PathConv

setPercentOffset

public void setPercentOffset(int newPercent,
                             int newOffset)

setClosestPoint

public void setClosestPoint(Point newPoint)
Overrides:
setClosestPoint in class PathConv