TurtleGraphics
Class CommandDrawString

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

public class CommandDrawString
extends Command

Copyright 2006 by Ken Lambert and Martin Osborne.


Constructor Summary
CommandDrawString(java.lang.String s, double y1, double y2)
           
 
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

CommandDrawString

public CommandDrawString(java.lang.String s,
                         double y1,
                         double y2)
Method Detail

doCommand

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