JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org

org.jpedal.external
Interface ShapeTracker


public interface ShapeTracker

allow user to recieve raw glyph data as generated


Method Summary
 void addShape(int tokenNumber, int type, java.awt.Shape currentShape, org.jpedal.color.PdfPaint nonstrokecolor, org.jpedal.color.PdfPaint strokecolor)
          pass user the low-level details
 

Method Detail

addShape

void addShape(int tokenNumber,
              int type,
              java.awt.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

JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org

JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org