TurtleGraphics
Class CommandSetPenWidth

java.lang.Object
  extended by TurtleGraphics.Command
      extended by TurtleGraphics.CommandSetPenWidth

public class CommandSetPenWidth
extends Command

Copyright 2006 by Ken Lambert and Martin Osborne.


Constructor Summary
CommandSetPenWidth(int w)
           
 
Method Summary
 void doCommand(java.awt.Graphics2D g, int width, int height)
           
 
Methods inherited from class TurtleGraphics.Command
adjustX, adjustY, round
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandSetPenWidth

public CommandSetPenWidth(int w)
Method Detail

doCommand

public void doCommand(java.awt.Graphics2D g,
                      int width,
                      int height)
Specified by:
doCommand in class Command