Class PDFStrokePaintCmd

java.lang.Object
com.sun.pdfview.PDFCmd
com.sun.pdfview.PDFStrokePaintCmd

class PDFStrokePaintCmd extends PDFCmd
set the stroke paint
  • Field Details

  • Constructor Details

    • PDFStrokePaintCmd

      public PDFStrokePaintCmd(PDFPaint p)
  • Method Details

    • execute

      public Rectangle2D execute(PDFRenderer state)
      Description copied from class: PDFCmd
      mark the page or change the graphics state
      Specified by:
      execute in class PDFCmd
      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.