Package com.moneydance.awt
Class ArrowHead
- java.lang.Object
-
- com.moneydance.awt.ArrowHead
-
public class ArrowHead extends java.lang.Object
Class capable of drawing an arrow head. SeeArrowIcon
for more information. Note that the color or opacity of the arrow head (or antialiasing, etc.) is not defined by this class, it simply draws the polygon and fills it if requested.- Author:
- Kevin Menningen
-
-
Constructor Summary
Constructors Constructor Description ArrowHead(java.awt.geom.Point2D lineStart, java.awt.geom.Point2D lineEnd, double width, double height, boolean filled)
Constructor to allow immutability.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(java.awt.Graphics2D g)
-
-
-
Constructor Detail
-
ArrowHead
public ArrowHead(java.awt.geom.Point2D lineStart, java.awt.geom.Point2D lineEnd, double width, double height, boolean filled)
Constructor to allow immutability. SeeArrowIcon
for a description of the meaning of the parameters.- Parameters:
lineStart
- The start of the line specifying the arrow's direction.lineEnd
- The end of the line specifying the arrow's direction (arrow's tip).width
- The width of the arrow.height
- The height/length of the arrow.filled
- True to fill the arrow head, false to draw it as an outline.
-
-