org.jhotdraw.draw
Class GeneralPathTip
java.lang.Object
org.jhotdraw.draw.AbstractLineDecoration
org.jhotdraw.draw.GeneralPathTip
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, LineDecoration
public class GeneralPathTip
- extends AbstractLineDecoration
GeneralPathLineDecoration.
- See Also:
- Serialized Form
|
Constructor Summary |
GeneralPathTip(java.awt.geom.GeneralPath path,
double decorationRadius)
Creates a new instance. |
GeneralPathTip(java.awt.geom.GeneralPath path,
double decorationRadius,
boolean isFilled,
boolean isStroked,
boolean isSolid)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneralPathTip
public GeneralPathTip(java.awt.geom.GeneralPath path,
double decorationRadius)
- Creates a new instance.
GeneralPathTip
public GeneralPathTip(java.awt.geom.GeneralPath path,
double decorationRadius,
boolean isFilled,
boolean isStroked,
boolean isSolid)
getDecoratorPath
protected java.awt.geom.GeneralPath getDecoratorPath(Figure f)
- Description copied from class:
AbstractLineDecoration
- Hook method to calculates the path of the decorator.
- Specified by:
getDecoratorPath in class AbstractLineDecoration
getDecoratorPathRadius
protected double getDecoratorPathRadius(Figure f)
- Description copied from class:
AbstractLineDecoration
- Hook method to calculates the radius of the decorator path.
- Specified by:
getDecoratorPathRadius in class AbstractLineDecoration