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, setStroked
public 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)
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