Class ArrowProperty
- java.lang.Object
 - 
- hudson.plugins.project_inheritance.util.svg.properties.ArrowProperty
 
 
- 
public class ArrowProperty extends Object
 
- 
- 
Field Summary
Fields Modifier and Type Field Description booleanfillHeaddoubleheadAngledoubleheadLenColorPropertystroke 
- 
Constructor Summary
Constructors Constructor Description ArrowProperty(ColorProperty stroke, boolean fillHead, double headLen, double headAngle)Constructor to set all arrow properties. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point2D.Double[]calcArrowPoints(Point2D.Double start, Point2D.Double end) 
 - 
 
- 
- 
Field Detail
- 
stroke
public ColorProperty stroke
 
- 
fillHead
public boolean fillHead
 
- 
headLen
public double headLen
 
- 
headAngle
public double headAngle
 
 - 
 
- 
Constructor Detail
- 
ArrowProperty
public ArrowProperty(ColorProperty stroke, boolean fillHead, double headLen, double headAngle)
Constructor to set all arrow properties. Do note that start and end are the only mutable properties.- Parameters:
 stroke- the colour and width of the stroke.fillHead- whether or not to fill the headheadLen- how long the arrow head tips should be removed from the end point.headAngle- the angle of the arrow head.
 
 - 
 
- 
Method Detail
- 
calcArrowPoints
public Point2D.Double[] calcArrowPoints(Point2D.Double start, Point2D.Double end)
 
 - 
 
 -