edu.stanford.hci.r3.actions.types.graphicscommands
Interface GraphicsCommand
- All Known Implementing Classes:
- DrawImageCommand, DrawRectCommand, DrawShape, FillRectCommand, SetColorCommand
public interface GraphicsCommand
Let's support the < 10 things that we need, for now...
- g2d.draw(Shape s)
- g2d.fill(Shape s)
- g2d.drawImage(image, (BufferedImageOp) null, x, y);
- g2d.drawRenderedImage(RenderedImage img, AffineTransform xform);
- g2d.setFont(Font font)
- g2d.drawString(string, x, y)
- set the JFrame's location
- set the JFrame's size
- set the JFrame's FullScreen Mode to True or False
This software is distributed under the BSD License.
Method Summary |
void |
invoke(java.awt.Graphics2D g2d)
|
invoke
void invoke(java.awt.Graphics2D g2d)
- Parameters:
g2d
-