scenic
Class SolidColor

java.lang.Object
  extended by scenic.SceneNode
      extended by scenic.SceneLeaf
          extended by scenic.Brush
              extended by scenic.SolidColor

public class SolidColor
extends Brush

This brush paints a solid color.


Constructor Summary
SolidColor(ScenicColor color)
          Constructs a new solid color brush.
 
Method Summary
 ScenicColor getColor()
          Gets the color.
 void setColor(ScenicColor color)
          Sets the color.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolidColor

public SolidColor(ScenicColor color)
Constructs a new solid color brush.

Parameters:
color - the color.
Method Detail

getColor

public ScenicColor getColor()
Gets the color.


setColor

public void setColor(ScenicColor color)
Sets the color.