Package com.sun.pdfview
Class PDFImageCmd
- java.lang.Object
-
- com.sun.pdfview.PDFCmd
-
- com.sun.pdfview.PDFImageCmd
-
class PDFImageCmd extends PDFCmd
draw an image
-
-
Constructor Summary
Constructors Constructor Description PDFImageCmd(PDFImage image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Rectangle2D
execute(PDFRenderer state)
mark the page or change the graphics state-
Methods inherited from class com.sun.pdfview.PDFCmd
getDetails, toString
-
-
-
-
Field Detail
-
image
PDFImage image
-
-
Constructor Detail
-
PDFImageCmd
public PDFImageCmd(PDFImage image)
-
-
Method Detail
-
execute
public java.awt.geom.Rectangle2D execute(PDFRenderer state)
Description copied from class:PDFCmd
mark the page or change the graphics state- Specified by:
execute
in classPDFCmd
- 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.
-
-