de.enough.polish.ui.borders
Class BottomRightShadowBorder
java.lang.Object
de.enough.polish.ui.Border
de.enough.polish.ui.borders.BottomRightShadowBorder
- All Implemented Interfaces:
- Serializable
public class BottomRightShadowBorder
- extends Border
Paints a border which is like shadow, which is seen on the bottom and on the right of the bordered Item.
Copyright Enough Software 2004 - 2008
- Author:
- Robert Virkus, robert@enough.de
|
Constructor Summary |
BottomRightShadowBorder(int color,
int borderWidth,
int offset)
Creates a new border which is like a shadow which is seen on the bottom and on the right of the Item. |
|
Method Summary |
void |
paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Paints this border. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BottomRightShadowBorder
public BottomRightShadowBorder(int color,
int borderWidth,
int offset)
- Creates a new border which is like a shadow which is seen on the bottom and on the right of the Item.
- Parameters:
color - the color of this border in RGB, e.g. 0xFFDD12borderWidth - the width of this borderoffset - the offset of the shadow
paint
public void paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
- Description copied from class:
Border
- Paints this border.
- Specified by:
paint in class Border
- Parameters:
x - the horizontal start pointy - the vertical start pointwidth - the width of the borderheight - the height of the borderg - the Graphics on which the border should be painted.