fang
Class FunPainter
java.lang.Object
fang.FunPainter
public class FunPainter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunPainter
public FunPainter()
setProperties
public static void setProperties(Dimension size,
Component component)
- sets the font size and color properly
- Parameters:
size - the size of the window or canvascomponent - the component on which to set the font
paint
public static void paint(Graphics brush,
Point position,
Dimension size,
int fade)
- draws the spiraling background
- Parameters:
brush - the graphics to draw withposition - the position of the componentsize - how big the component isfade - how much to fade out