org.xith3d.ui.hud.borders
Class EmptyBorder
java.lang.Object
org.xith3d.ui.hud.base.Border
org.xith3d.ui.hud.borders.EmptyBorder
public class EmptyBorder
- extends Border
An EmptyBorder is a Border implementation without a visible component.
|
Constructor Summary |
EmptyBorder(int width)
Creates a new EmptyBorder with all sides of the same width. |
EmptyBorder(int bottomHeight,
int rightWidth,
int topHeight,
int leftWidth)
Creates a new EmptyBorder with the given side widths. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyBorder
public EmptyBorder(int bottomHeight,
int rightWidth,
int topHeight,
int leftWidth)
- Creates a new EmptyBorder with the given side widths.
- Parameters:
bottomHeight - rightWidth - topHeight - leftWidth -
EmptyBorder
public EmptyBorder(int width)
- Creates a new EmptyBorder with all sides of the same width.
- Parameters:
width -
drawBorder
public void drawBorder(Texture2DCanvas texCanvas,
int offsetX,
int offsetY,
int width,
int height,
Widget hostWidget)
-
- Specified by:
drawBorder in class Border