Package com.sun.pdfview
Class PDFCmd
java.lang.Object
com.sun.pdfview.PDFCmd
- Direct Known Subclasses:
PDFChangeStrokeCmd
,PDFFillAlphaCmd
,PDFFillPaintCmd
,PDFImageCmd
,PDFPopCmd
,PDFPushCmd
,PDFShapeCmd
,PDFStrokeAlphaCmd
,PDFStrokePaintCmd
,PDFXformCmd
The abstract superclass of all drawing commands for a PDFPage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Rectangle2D
execute
(PDFRenderer state) mark the page or change the graphics statethe details of this commandtoString()
a human readable representation of this command
-
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
-