Package com.ardor3d.extension.ui.border
Class EmptyBorder
java.lang.Object
com.ardor3d.extension.ui.util.Insets
com.ardor3d.extension.ui.border.UIBorder
com.ardor3d.extension.ui.border.EmptyBorder
A simple border that does not paint in the border area. This border can be used for adding fixed size padding or
spacing between components.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate a new border.EmptyBorder
(int top, int left, int bottom, int right) Create a new border with the given edge sizes -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(Renderer renderer, UIComponent comp) Draw this border.Methods inherited from class com.ardor3d.extension.ui.border.UIBorder
getBorderHeight, getBorderWidth
-
Constructor Details
-
EmptyBorder
public EmptyBorder()Create a new border. All sides are zero size. -
EmptyBorder
public EmptyBorder(int top, int left, int bottom, int right) Create a new border with the given edge sizes- Parameters:
top
- the topleft
- the leftbottom
- the bottomright
- the right
-
-
Method Details