Package org.loboevolution.pdfview
Class PDFCmd
java.lang.Object
org.loboevolution.pdfview.PDFCmd
- Direct Known Subclasses:
PDFShapeCmd
The abstract superclass of all drawing commands for a PDFPage.
Author Mike Wessler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Rectangle2D
execute
(PDFRenderer state) mark the page or change the graphics statethe details of this commandtoString()
-
Constructor Details
-
PDFCmd
public PDFCmd()
-
-
Method Details
-
execute
mark the page or change the graphics state- 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.
-
toString
a human readable representation of this command
-
getDetails
the details of this command- Returns:
- a
String
object.
-