com.threerings.opengl.gui.background
Class Background

java.lang.Object
  extended by com.threerings.opengl.gui.background.Background
Direct Known Subclasses:
BlankBackground, ImageBackground, TintedBackground

public abstract class Background
extends Object

Provides additional information about a background that is used to display the backgrounds of various components.


Constructor Summary
Background()
           
 
Method Summary
 int getMinimumHeight()
          Returns the minimum height allowed by this background.
 int getMinimumWidth()
          Returns the minimum width allowed by this background.
 void render(Renderer renderer, int x, int y, int width, int height, float alpha)
          Renders this background.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Background

public Background()
Method Detail

getMinimumWidth

public int getMinimumWidth()
Returns the minimum width allowed by this background.


getMinimumHeight

public int getMinimumHeight()
Returns the minimum height allowed by this background.


render

public void render(Renderer renderer,
                   int x,
                   int y,
                   int width,
                   int height,
                   float alpha)
Renders this background.



Copyright © 2011. All Rights Reserved.