org.xith3d.ui.swingui
Class UISubOverlayBase
java.lang.Object
org.xith3d.ui.swingui.UISubOverlayBase
- Direct Known Subclasses:
- UISubOverlay, UISubOverlayOptimized
public class UISubOverlayBase
- extends java.lang.Object
Insert package comments here
Originally Coded by David Yazel on Nov 23, 2003 at 11:58:22 AM.
|
Method Summary |
protected void |
buildShape()
Build the quad for this overlay |
protected java.awt.Rectangle |
getBounds()
|
Shape3D |
getShape()
Return the shape |
protected int |
smallestPower(int value)
Simple function to return the smallest power of 2 which
the value can be contained within |
void |
swap()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
protected static final java.lang.Boolean DEBUG
GRID
protected static final boolean GRID
- See Also:
- Constant Field Values
lx
protected int lx
ly
protected int ly
ux
protected int ux
uy
protected int uy
texWidth
protected int texWidth
texHeight
protected int texHeight
width
protected int width
height
protected int height
shape
protected Shape3D shape
ap
protected Appearance ap
overlay
protected UIOverlay overlay
bounds
protected java.awt.Rectangle bounds
dirty
protected boolean dirty
UISubOverlayBase
protected UISubOverlayBase(UIOverlay overlay,
int lx,
int ly,
int ux,
int uy)
getBounds
protected java.awt.Rectangle getBounds()
smallestPower
protected int smallestPower(int value)
- Simple function to return the smallest power of 2 which
the value can be contained within
buildShape
protected void buildShape()
- Build the quad for this overlay
getShape
public Shape3D getShape()
- Return the shape
swap
public void swap()