de.matthiasmann.twl.renderer.lwjgl
Class TextureAreaBase

java.lang.Object
  extended by de.matthiasmann.twl.renderer.lwjgl.TextureAreaBase
Direct Known Subclasses:
LWJGLDynamicImage, TextureArea

public class TextureAreaBase
extends java.lang.Object

Base class to render a sub region of a GL texture


Field Summary
protected  short height
           
protected  float tx0
           
protected  float tx1
           
protected  float ty0
           
protected  float ty1
           
protected  short width
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tx0

protected final float tx0

ty0

protected final float ty0

tx1

protected final float tx1

ty1

protected final float ty1

width

protected final short width

height

protected final short height
Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()