de.enough.polish.ui.backgrounds
Class SmoothColorBackground
java.lang.Object
de.enough.polish.ui.Background
de.enough.polish.ui.backgrounds.SmoothColorBackground
- All Implemented Interfaces:
- Serializable
public class SmoothColorBackground
- extends Background
|
Method Summary |
void |
paint(int x,
int y,
int width,
int height,
Graphics g)
Paints this background. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmoothColorBackground
public SmoothColorBackground(int color,
int targetColor,
int stroke)
paint
public void paint(int x,
int y,
int width,
int height,
Graphics g)
- Description copied from class:
Background
- Paints this background.
- Specified by:
paint in class Background
- Parameters:
x - the horizontal start pointy - the vertical start pointwidth - the width of the backgroundheight - the height of the backgroundg - the Graphics on which the background should be painted.