public class Axes3D
- extends Axes2D
A Decoration that displays x-, y-, and z-axes in three-space. The axes are drawn as line segments
from the origin to the points (1,0,0), (0,1,0), and (0,0,1). This is a subclass of
so that both 2D and 3D axes can be treated uniformly.
Create an Axes3D decoration, which is in layer 1 by default.
Draws a set of axes in the specified View.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- Create an Axes3D decoration, which is in layer 1 by default.
- See Also:
public void doDraw(java.awt.Graphics2D g,
- Draws a set of axes in the specified View. If the view is not in fact
a three dimensionsal view, then a set of two dimensional axes is drawn.
doDraw in class
g - The graphics context where the Exhibit and its decorations are being drawn.
view - The View that is drawing the Exhibit; this object contains other
information that might be of use, such as the Display, if any, associated with
the View, and the the actual Exhibit that is being drawn.
transform - Contains information about the rectangular area in the
xy-plane that is being drawn and about the rectangle of pixels in the graphics
context where it is drawn. Note that at least for the top-level View class,
transform.getX() and transform.getY() can be assumed to be zero.
- See Also:
Exhibit.render(Graphics2D, View, Transform, ArrayList),
Decoration.computeDrawData(View, boolean, Transform, Transform)