public class G3DRect
extends acm.graphics.GRect
Constructor and Description |
---|
G3DRect(double d,
double d1) |
G3DRect(double d,
double d1,
double d2,
double d3) |
G3DRect(double d,
double d1,
double d2,
double d3,
boolean flag) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRaised() |
protected void |
paint2d(Graphics2D g)
Implements the
paint2d operation for this graphical object. |
void |
setRaised(boolean flag) |
contains, getBounds, getFillColor, getFrameHeight, getFrameWidth, getSize, isFilled, setBounds, setBounds, setFillColor, setFilled, setSize, setSize
addActionListener, addMouseListener, addMouseMotionListener, areMouseListenersEnabled, clone, colorName, colorName, colorNameFriendly, contains, createTransformedGraphics, fireActionEvent, fireActionEvent, fireMouseListeners, getBottomY, getCenterLocation, getCenterX, getCenterY, getColor, getComponent, getHeight, getLineWidth, getLocation, getMatrix, getObjectColor, getParent, getRightX, getWidth, getX, getY, intersects, isAntiAliasing, isVisible, move, movePolar, paint, paramString, pause, removeActionListener, removeMouseListener, removeMouseMotionListener, repaint, rotate, scale, scale, sendBackward, sendForward, sendToBack, sendToFront, setAntiAliasing, setBottomY, setCenterLocation, setCenterLocation, setCenterX, setCenterY, setColor, setLineWidth, setLocation, setLocation, setParent, setRightX, setVisible, setX, setY, start, start, toString, updateEnabledList
public G3DRect(double d, double d1)
public G3DRect(double d, double d1, double d2, double d3)
public G3DRect(double d, double d1, double d2, double d3, boolean flag)
protected void paint2d(Graphics2D g)
paint2d
operation for this graphical object.
This method is not called directly by clients.paint2d
in class acm.graphics.GRect
g
- The graphics context into which the painting is donepublic void setRaised(boolean flag)
public boolean isRaised()