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
public abstract class PDFCmd extends java.lang.ObjectThe abstract superclass of all drawing commands for a PDFPage.
-
-
Constructor Summary
Constructors Constructor Description PDFCmd()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.awt.geom.Rectangle2Dexecute(PDFRenderer state)mark the page or change the graphics statejava.lang.StringgetDetails()the details of this commandjava.lang.StringtoString()a human readable representation of this command
-
-
-
Method Detail
-
execute
public abstract java.awt.geom.Rectangle2D execute(PDFRenderer state)
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
public java.lang.String toString()
a human readable representation of this command- Overrides:
toStringin classjava.lang.Object
-
getDetails
public java.lang.String getDetails()
the details of this command
-
-