JHotDraw 6.0b1

Class PatternPainter

  extended by org.jhotdraw.samples.javadraw.PatternPainter
All Implemented Interfaces:
java.io.Serializable, Painter

public class PatternPainter
extends java.lang.Object
implements Painter

PatternDrawer a background that can be added to a drawing.

See Also:
DrawingView, Painter, Serialized Form

Constructor Summary
PatternPainter(java.awt.Image image)
Method Summary
 void draw(java.awt.Graphics g, DrawingView view)
          Draws into the given DrawingView.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public PatternPainter(java.awt.Image image)
Method Detail


public void draw(java.awt.Graphics g,
                 DrawingView view)
Description copied from interface: Painter
Draws into the given DrawingView.

Specified by:
draw in interface Painter

JHotDraw 6.0b1