|
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.ArrowTip
public class ArrowTip
A LineDecoration
which draws an arrow tip.
Constructor Summary | |
---|---|
ArrowTip()
|
|
ArrowTip(double angle,
double outerRadius,
double innerRadius)
Constructs an arrow tip with the specified angle and outer and inner radius. |
|
ArrowTip(double angle,
double outerRadius,
double innerRadius,
boolean isFilled,
boolean isStroked,
boolean isSolid)
Constructs an arrow tip with the specified parameters. |
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. |
void |
read(DOMInput in)
|
void |
write(DOMOutput out)
|
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 ArrowTip()
public ArrowTip(double angle, double outerRadius, double innerRadius)
public ArrowTip(double angle, double outerRadius, double innerRadius, boolean isFilled, boolean isStroked, boolean isSolid)
Method Detail |
---|
protected java.awt.geom.Path2D.Double getDecoratorPath(Figure f)
AbstractLineDecoration
getDecoratorPath
in class AbstractLineDecoration
protected double getDecoratorPathRadius(Figure f)
AbstractLineDecoration
getDecoratorPathRadius
in class AbstractLineDecoration
public void read(DOMInput in)
read
in interface DOMStorable
public void write(DOMOutput out)
write
in interface DOMStorable
|
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 |