fang
Class GradientFill
java.lang.Object
fang.Fill
fang.GradientFill
public class GradientFill
- extends Fill
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GradientFill
public GradientFill(Color start,
Color end)
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