fang
Class GradientFill

java.lang.Object
  extended by fang.Fill
      extended by fang.GradientFill

public class GradientFill
extends Fill


Constructor Summary
GradientFill(Color start, Color end)
           
 
Method Summary
 Color getEndColor()
           
 Color getStartColor()
           
 void paint(Graphics2D pen, Shape shape)
           
 void setEndColor(Color color)
           
 void setStartColor(Color color)
           
 
Methods inherited from class fang.Fill
getColor, setColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientFill

public GradientFill(Color start,
                    Color end)
Method Detail

getStartColor

public Color getStartColor()

getEndColor

public Color getEndColor()

setStartColor

public void setStartColor(Color color)

setEndColor

public void setEndColor(Color color)

paint

public void paint(Graphics2D pen,
                  Shape shape)
Specified by:
paint in class Fill