All Packages Class Hierarchy This Package Previous Next Index
Class figPac.fArrowhead
java.lang.Object
|
+----figPac.fArrowhead
- public class fArrowhead
- extends Object
- implements fElement
Each instance of the class fArrowhead represents an arrowhead.
-
angle
- The angle between the long axis of the arrowhead and the user x axis.
-
arrowHeadColor
- The color used to fill the arrowhead on the screen.
-
arrowHeadGray
- Controls the density used to fill the arrowhead in postscript.
-
centre
- The centre of the arrowhead in user coordinates.
-
cofmass
- The centre of the arrowhead is this fraction of the way along the long axis of the arrowhead.
-
defaultHeadColor
- The default color used to fill the arrowhead on the screen.
-
defaultHeadGray
- Controls the default density used to fill the arrowhead in postscript.
-
defaultHeadHalfWidth
- The default value of the half-width of the arrow head in points.
-
defaultHeadLength
- The default value of the length of the arrow head in points.
-
headHalfWidth
- The half-width of the arrow head in points.
-
headLength
- The length of the arrow head in points.
-
fArrowhead(double, double, double)
- Creates an arrow with centre (in user coordinates) determined by the first
two arguments and angle determined by the last argument (in degrees).
-
fArrowhead(double, double, double, double)
- Creates an arrow with centre (in user coordinates) determined by the first two arguments
pointing towards the point specified by the final two arguments.
-
fArrowhead(double[], double)
- Creates an arrow with centre determined by the first argument and angle by the second.
-
fArrowhead(double[], double[])
- Creates an arrow with centre determined by the first argument and pointing towards
the point given by the second argument.
-
drawgfx(Figure, Hashtable, V2V)
-
-
drawps(Figure, Hashtable, V2V)
-
centre
public double centre[]
- The centre of the arrowhead in user coordinates.
angle
public double angle
- The angle between the long axis of the arrowhead and the user x axis.
headHalfWidth
public double headHalfWidth
- The half-width of the arrow head in points.
defaultHeadHalfWidth
public double defaultHeadHalfWidth
- The default value of the half-width of the arrow head in points.
headLength
public double headLength
- The length of the arrow head in points.
defaultHeadLength
public double defaultHeadLength
- The default value of the length of the arrow head in points.
cofmass
public double cofmass
- The centre of the arrowhead is this fraction of the way along the long axis of the arrowhead.
defaultHeadColor
public Color defaultHeadColor
- The default color used to fill the arrowhead on the screen.
arrowHeadColor
public Color arrowHeadColor
- The color used to fill the arrowhead on the screen.
defaultHeadGray
public double defaultHeadGray
- Controls the default density used to fill the arrowhead in postscript. Black=0, white=1.
arrowHeadGray
public double arrowHeadGray
- Controls the density used to fill the arrowhead in postscript. Black=0, white=1.
fArrowhead
public fArrowhead(double centre[],
double angle)
- Creates an arrow with centre determined by the first argument and angle by the second.
fArrowhead
public fArrowhead(double x,
double y,
double angle)
- Creates an arrow with centre (in user coordinates) determined by the first
two arguments and angle determined by the last argument (in degrees).
fArrowhead
public fArrowhead(double centre[],
double to[])
- Creates an arrow with centre determined by the first argument and pointing towards
the point given by the second argument.
fArrowhead
public fArrowhead(double xcentre,
double ycentre,
double xto,
double yto)
- Creates an arrow with centre (in user coordinates) determined by the first two arguments
pointing towards the point specified by the final two arguments.
drawgfx
public void drawgfx(Figure fig,
Hashtable env,
V2V usr2pxl)
drawps
public String drawps(Figure fig,
Hashtable env,
V2V usr2ps)
All Packages Class Hierarchy This Package Previous Next Index