Class DrawImageCommand
java.lang.Object
de.erichseifert.vectorgraphics2d.intermediate.commands.Command<Image>
de.erichseifert.vectorgraphics2d.intermediate.commands.DrawImageCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final intprivate final intprivate final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionDrawImageCommand(Image image, int imageWidth, int imageHeight, double x, double y, double width, double height) -
Method Summary
-
Field Details
-
imageWidth
private final int imageWidth -
imageHeight
private final int imageHeight -
x
private final double x -
y
private final double y -
width
private final double width -
height
private final double height
-
-
Constructor Details
-
DrawImageCommand
public DrawImageCommand(Image image, int imageWidth, int imageHeight, double x, double y, double width, double height)
-
-
Method Details
-
getImageWidth
public int getImageWidth() -
getImageHeight
public int getImageHeight() -
getX
public double getX() -
getY
public double getY() -
getWidth
public double getWidth() -
getHeight
public double getHeight() -
toString
-