scenic
Class Shape

java.lang.Object
  extended by scenic.SceneNode
      extended by scenic.SceneLeaf
          extended by scenic.Shape
Direct Known Subclasses:
FilledPath, StrokedPath, TextShape

public abstract class Shape
extends SceneLeaf

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

Shape

public Shape()
Method Detail

getColor

public ScenicColor getColor()
Gets the shape color.


setColor

public void setColor(ScenicColor color)
Sets the shape color.