|
JHotDraw 7.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.draw.decoration.AbstractLineDecoration
org.jhotdraw.draw.decoration.GeneralPathTip
public class GeneralPathTip
A LineDecoration which draws a general path.
| Constructor Summary | |
|---|---|
GeneralPathTip(java.awt.geom.Path2D.Double path,
double decorationRadius)
Creates a new instance. |
|
GeneralPathTip(java.awt.geom.Path2D.Double path,
double decorationRadius,
boolean isFilled,
boolean isStroked,
boolean isSolid)
|
|
| Method Summary | |
|---|---|
protected java.awt.geom.Path2D.Double |
getDecoratorPath(Figure f)
Hook method to calculate the path of the decorator. |
protected double |
getDecoratorPathRadius(Figure f)
Hook method to calculate the radius of the decorator path. |
| Methods inherited from class org.jhotdraw.draw.decoration.AbstractLineDecoration |
|---|
draw, getDecorationRadius, getDrawingArea, isFilled, isSolid, isStroked, setFilled, setSolid, setStroked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeneralPathTip(java.awt.geom.Path2D.Double path,
double decorationRadius)
public GeneralPathTip(java.awt.geom.Path2D.Double path,
double decorationRadius,
boolean isFilled,
boolean isStroked,
boolean isSolid)
| Method Detail |
|---|
protected java.awt.geom.Path2D.Double getDecoratorPath(Figure f)
AbstractLineDecoration
getDecoratorPath in class AbstractLineDecorationprotected double getDecoratorPathRadius(Figure f)
AbstractLineDecoration
getDecoratorPathRadius in class AbstractLineDecoration
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||