public class Arrow
extends java.awt.Polygon
| Constructor and Description |
|---|
Arrow(java.awt.Point start,
java.awt.Point end,
int size,
int headSize)
Create an arrow
|
public Arrow(java.awt.Point start,
java.awt.Point end,
int size,
int headSize)
start - the starting point of your arrow (the base)end - the ending point of your arrow (the head)size - the size of the arrow baseheadSize - the size of the arrow's head