java.lang.Object
de.erichseifert.vectorgraphics2d.intermediate.commands.Command<Image>
de.erichseifert.vectorgraphics2d.intermediate.commands.DrawImageCommand

public class DrawImageCommand extends Command<Image>
  • 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

      public String toString()
      Overrides:
      toString in class Command<Image>