edu.byu.phun2d
Class Axes

java.lang.Object
  extended by edu.byu.phun2d.DrawObj
      extended by edu.byu.phun2d.Axes

public class Axes
extends DrawObj

This creates a new drawable DrawObj that can be added to a scene or a Group. This object is a set of coordinate axes for X and Y. The X axis is shown in red and the Y axis is shown in green. The arms of the axes run from -8 to +8 with tic marks every increment of 1. The arrow heads show the positive direction.

These are very helpful for checking to see if things are being drawn where you expect them to be. For best results, this should be added to your scene last so that it appears over the top of all other drawings.


Constructor Summary
Axes()
          Creates a new axes object that can be added to a scene or to any Group.
 
Method Summary
 
Methods inherited from class edu.byu.phun2d.DrawObj
getFillColor, getLineColor, getLineWidth, getRotate, getScaleX, getScaleY, getTranslate, insideToOutside, outsideToInside, setFillColor, setLineColor, setLineWidth, setRotate, setScale, setTranslate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axes

public Axes()
Creates a new axes object that can be added to a scene or to any Group.