rendered3D
Class Object3D.Generic3D
java.lang.Object
rendered3D.Object3D.Generic3D
- Direct Known Subclasses:
- Object3D.Circle3D, Object3D.ColoredPoint3D, Object3D.Image3D, Object3D.Line3D, Object3D.Outline3D, Object3D.RotateableText3D, Object3D.StationaryImage3D
- Enclosing class:
- Object3D
public class Object3D.Generic3D
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Object3D.Generic3D
public Object3D.Generic3D()
setDepth
public int setDepth(int d)
- Parameters:
d
-
- Returns:
depth
public int depth()
- Returns:
setColor
public void setColor(java.awt.Color c)
- Parameters:
c
-
setColor
public void setColor(int r,
int g,
int b,
int a)
- Parameters:
r
- g
- b
- a
-
getColor
public java.awt.Color getColor()
- Returns:
getRGBA
public int[] getRGBA()
- Returns:
getComponentRGBA
public int getComponentRGBA()
- Returns:
getUnshadedRGBA
public int getUnshadedRGBA()
- Returns:
applyColor
public void applyColor(java.awt.Graphics G)
- Parameters:
G
-