edu.stanford.hci.r3.actions.types.graphicscommands
Class DrawRectCommand

java.lang.Object
  extended by edu.stanford.hci.r3.actions.types.graphicscommands.DrawRectCommand
All Implemented Interfaces:
GraphicsCommand

public class DrawRectCommand
extends java.lang.Object
implements GraphicsCommand

This software is distributed under the BSD License.


Constructor Summary
DrawRectCommand(int xVal, int yVal, int wVal, int hVal)
           
 
Method Summary
 void invoke(java.awt.Graphics2D g2d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawRectCommand

public DrawRectCommand(int xVal,
                       int yVal,
                       int wVal,
                       int hVal)
Parameters:
x -
y -
w -
h -
Method Detail

invoke

public void invoke(java.awt.Graphics2D g2d)
Specified by:
invoke in interface GraphicsCommand
See Also:
GraphicsCommand.invoke(java.awt.Graphics2D)

Copyright 2006 Stanford University