com.croftsoft.core.animation.painter
Class StretchPainter

java.lang.Object
  extended by com.croftsoft.core.animation.painter.StretchPainter
All Implemented Interfaces:
ComponentPainter

public final class StretchPainter
extends Object
implements ComponentPainter

Stretches the Image across the entire Component.

Since:
2002-02-17
Version:
2002-03-23
Author:
David Wallace Croft

Constructor Summary
StretchPainter(Image image)
           
 
Method Summary
 void paint(JComponent component, Graphics2D graphics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StretchPainter

public StretchPainter(Image image)
Method Detail

paint

public void paint(JComponent component,
                  Graphics2D graphics)
Specified by:
paint in interface ComponentPainter

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)