public static class GraphicsOp.DrawImageOp extends GraphicsOp.ActionOp
GraphicsOp.ActionOp, GraphicsOp.BackgroundOp, GraphicsOp.ClearHintsOp, GraphicsOp.ClearOp, GraphicsOp.ClipOp, GraphicsOp.ColorOp, GraphicsOp.CompositeOp, GraphicsOp.ControlOp, GraphicsOp.DrawImageOp, GraphicsOp.DrawShapeOp, GraphicsOp.DrawStringOp, GraphicsOp.EndOp, GraphicsOp.FontOp, GraphicsOp.GroupEndOp, GraphicsOp.GroupStartOp, GraphicsOp.HintOp, GraphicsOp.InitOp, GraphicsOp.PaintOp, GraphicsOp.StateOp, GraphicsOp.StrokeOp, GraphicsOp.TransformOp, GraphicsOp.XorModeOp
Modifier and Type | Field and Description |
---|---|
private int |
height |
private java.awt.Image |
img |
private int |
originalHeight |
private int |
originalWidth |
private int |
width |
private int |
x |
private int |
y |
Constructor and Description |
---|
DrawImageOp(java.awt.Image img,
int originalWidth,
int originalHeight,
int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
java.awt.Image |
getImage() |
int |
getOriginalHeight() |
int |
getOriginalWidth() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
replay(java.awt.Graphics2D g) |
apply
private int height
private java.awt.Image img
private int originalHeight
private int originalWidth
private int width
private int x
private int y
public DrawImageOp(java.awt.Image img, int originalWidth, int originalHeight, int x, int y, int width, int height)
public int getHeight()
public java.awt.Image getImage()
public int getOriginalHeight()
public int getOriginalWidth()
public int getWidth()
public int getX()
public int getY()
public void replay(java.awt.Graphics2D g)
replay
in interface GraphicsOp
replay
in class GraphicsOp.ActionOp