com.jmex.bui.background
Class TintedBackground

java.lang.Object
  extended by com.jmex.bui.background.BBackground
      extended by com.jmex.bui.background.TintedBackground

public class TintedBackground
extends BBackground

Displays a partially transparent solid color in the background.


Field Summary
protected  ColorRGBA _color
           
 
Constructor Summary
TintedBackground(ColorRGBA color)
          Creates a tinted background with the specified color.
 
Method Summary
 void render(Renderer renderer, int x, int y, int width, int height, float alpha)
          Renders this background.
 
Methods inherited from class com.jmex.bui.background.BBackground
getMinimumHeight, getMinimumWidth, wasAdded, wasRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_color

protected ColorRGBA _color
Constructor Detail

TintedBackground

public TintedBackground(ColorRGBA color)
Creates a tinted background with the specified color.

Method Detail

render

public void render(Renderer renderer,
                   int x,
                   int y,
                   int width,
                   int height,
                   float alpha)
Description copied from class: BBackground
Renders this background.

Overrides:
render in class BBackground


Copyright © 2008 Michael Bayne. All Rights Reserved.