public class ArrowTip extends AbstractLineDecoration implements DOMStorable
LineDecoration which draws an arrow tip.| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
draw, getDecorationRadius, getDrawingArea, isFilled, isSolid, isStroked, setFilled, setSolid, setStrokedpublic ArrowTip()
public ArrowTip(double angle,
double outerRadius,
double innerRadius)
public ArrowTip(double angle,
double outerRadius,
double innerRadius,
boolean isFilled,
boolean isStroked,
boolean isSolid)
protected java.awt.geom.Path2D.Double getDecoratorPath(Figure f)
AbstractLineDecorationgetDecoratorPath in class AbstractLineDecorationprotected double getDecoratorPathRadius(Figure f)
AbstractLineDecorationgetDecoratorPathRadius in class AbstractLineDecorationpublic void read(DOMInput in)
read in interface DOMStorablepublic void write(DOMOutput out)
write in interface DOMStorable