com.sun.pdfview

Class PDFCmd

public abstract class PDFCmd extends Object

The abstract superclass of all drawing commands for a PDFPage.
Method Summary
abstract Rectangle2Dexecute(PDFRenderer state)
mark the page or change the graphics state
StringgetDetails()
the details of this command

Method Detail

execute

public abstract 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.

getDetails

public String getDetails()
the details of this command