de.rico.engine.effect.ortho
Class AbstractOrthoOverlay

java.lang.Object
  extended by de.rico.engine.effect.ortho.AbstractOrthoOverlay
Direct Known Subclasses:
ImageRenderer, RectangleRenderer, TextRenderer

public abstract class AbstractOrthoOverlay
extends java.lang.Object

This is the abstract base class for any class that is used for orthographic overlay.

Author:
Frank Bruns

Constructor Summary
AbstractOrthoOverlay()
          Creates a new overlay object with white as the default color.
AbstractOrthoOverlay(Color4f color)
          Creates a new overlay object with the specified default color.
 
Method Summary
 Color4f getColor()
          Returns the current default color.
 void setColor(Color4f color)
          Sets the default color.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOrthoOverlay

public AbstractOrthoOverlay()
Creates a new overlay object with white as the default color.


AbstractOrthoOverlay

public AbstractOrthoOverlay(Color4f color)
Creates a new overlay object with the specified default color.

Parameters:
color - default color for the overlay object
Method Detail

setColor

public void setColor(Color4f color)
Sets the default color.

Parameters:
color - new default color

getColor

public Color4f getColor()
Returns the current default color.

Returns:
current default color