edu.stanford.hci.r3.actions.types.graphicscommands
Class DrawImageCommand
java.lang.Object
edu.stanford.hci.r3.actions.types.graphicscommands.DrawImageCommand
- All Implemented Interfaces:
- GraphicsCommand
public class DrawImageCommand
- extends java.lang.Object
- implements GraphicsCommand
This software is distributed under the BSD License.
Constructor Summary |
DrawImageCommand(java.io.File imageFile,
int xVal,
int yVal)
|
DrawImageCommand(java.io.File imageFile,
int xVal,
int yVal,
java.awt.geom.AffineTransform transform)
|
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 |
DrawImageCommand
public DrawImageCommand(java.io.File imageFile,
int xVal,
int yVal)
DrawImageCommand
public DrawImageCommand(java.io.File imageFile,
int xVal,
int yVal,
java.awt.geom.AffineTransform transform)
- Parameters:
imageFile
- xVal
- yVal
- transform
-
invoke
public void invoke(java.awt.Graphics2D g2d)
- Specified by:
invoke
in interface GraphicsCommand
- Parameters:
g2d
-