com.threerings.opengl.gui.border
Class Border
java.lang.Object
com.threerings.opengl.gui.border.Border
- Direct Known Subclasses:
- CompoundBorder, EmptyBorder, LineBorder
public abstract class Border
- extends Object
Configures a border around a component that may or may not have
associated geometric elements. Note: a border must only be
used with a single component at a time.
|
Method Summary |
abstract Insets |
adjustInsets(Insets insets)
Adds the supplied insets to this border's insets and returns adjusted
insets. |
void |
render(Renderer renderer,
int x,
int y,
int width,
int height,
float alpha)
Renders this border. |
Border
public Border()
adjustInsets
public abstract Insets adjustInsets(Insets insets)
- Adds the supplied insets to this border's insets and returns adjusted
insets.
render
public void render(Renderer renderer,
int x,
int y,
int width,
int height,
float alpha)
- Renders this border.
Copyright © 2011. All Rights Reserved.