Interface ShapeTracker


public interface ShapeTracker
allow user to recieve raw glyph data as generated
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addShape(int tokenNumber, int type, Shape currentShape, org.jpedal.color.PdfPaint nonstrokecolor, org.jpedal.color.PdfPaint strokecolor)
    pass user the low-level details
  • Method Details

    • addShape

      void addShape(int tokenNumber, int type, Shape currentShape, org.jpedal.color.PdfPaint nonstrokecolor, org.jpedal.color.PdfPaint strokecolor)
      pass user the low-level details
      Parameters:
      tokenNumber - actual token reached in stream (useful for working out if objects behind others
      type - (Cmd.S, Cmd.s, Cmd.B, etc)... B,S and F comands with or without star and upper/lower case to define Fill, Stroke, etc
      currentShape - - shape with unscaled, unrotated PDF co-ordinates
      nonstrokecolor - - used for Fills
      strokecolor - - used for stroking shape