Class PDFImageCmd

java.lang.Object
com.sun.pdfview.PDFCmd
com.sun.pdfview.PDFImageCmd

class PDFImageCmd extends PDFCmd
draw an image
  • Field Details

  • Constructor Details

    • PDFImageCmd

      public PDFImageCmd(PDFImage image)
  • Method Details

    • execute

      public Rectangle2D execute(PDFRenderer state)
      Description copied from class: PDFCmd
      mark the page or change the graphics state
      Specified by:
      execute in class PDFCmd
      Parameters:
      state - the current graphics state; may be modified during execution.
      Returns:
      the region of the page made dirty by executing this command or null if no region was touched. Note this value should be in the coordinates of the image touched, not the page.