|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscenic.SceneNode
scenic.SceneLeaf
scenic.Shape
public abstract class Shape
This is the base class for shapes. Shapes are scene nodes that specify an area. The area of the shape is drawn with a color. The default color is white (red=1, green=1, blue=1, alpha=1).
| Constructor Summary | |
|---|---|
Shape()
|
|
| Method Summary | |
|---|---|
ScenicColor |
getColor()
Gets the shape color. |
void |
setColor(ScenicColor color)
Sets the shape color. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Shape()
| Method Detail |
|---|
public ScenicColor getColor()
public void setColor(ScenicColor color)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||