fang
Class FunPainter

java.lang.Object
  extended by fang.FunPainter

public class FunPainter
extends Object


Constructor Summary
FunPainter()
           
 
Method Summary
static void paint(Graphics brush, Point position, Dimension size, int fade)
          draws the spiraling background
static void setProperties(Dimension size, Component component)
          sets the font size and color properly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunPainter

public FunPainter()
Method Detail

setProperties

public static void setProperties(Dimension size,
                                 Component component)
sets the font size and color properly

Parameters:
size - the size of the window or canvas
component - 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 with
position - the position of the component
size - how big the component is
fade - how much to fade out