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

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

public class FillRectCommand
extends java.lang.Object
implements GraphicsCommand

Fills a rectangle into the provided g2d.

This software is distributed under the BSD License.


Constructor Summary
FillRectCommand(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

FillRectCommand

public FillRectCommand(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