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 static 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 final int lx
ly
protected final int ly
ux
protected final int ux
uy
protected final int uy
texWidth
protected final int texWidth
texHeight
protected final int texHeight
width
protected final int width
height
protected final 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 static 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()