|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.figures.AbstractLineDecoration
org.jhotdraw.figures.ArrowTip
public class ArrowTip
An arrow tip line decoration.
PolyLineFigure
,
Serialized FormConstructor Summary | |
---|---|
ArrowTip()
|
|
ArrowTip(double angle,
double outerRadius,
double innerRadius)
Constructs an arrow tip with the given angle and radius. |
Method Summary | |
---|---|
java.awt.Polygon |
outline(int x1,
int y1,
int x2,
int y2)
Calculates the outline of an arrow tip. |
void |
read(StorableInput dr)
Reads the arrow tip from a StorableInput. |
void |
write(StorableOutput dw)
Stores the arrow tip to a StorableOutput. |
Methods inherited from class org.jhotdraw.figures.AbstractLineDecoration |
---|
displayBox, draw, getBorderColor, getFillColor, setBorderColor, setFillColor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrowTip()
public ArrowTip(double angle, double outerRadius, double innerRadius)
Method Detail |
---|
public java.awt.Polygon outline(int x1, int y1, int x2, int y2)
outline
in class AbstractLineDecoration
public void write(StorableOutput dw)
write
in interface Storable
write
in class AbstractLineDecoration
public void read(StorableInput dr) throws java.io.IOException
read
in interface Storable
read
in class AbstractLineDecoration
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |