Example #1
0
 /**
  * A method provided as an event interface to allow a subclass to perform some specific
  * functionality when text needs to be processed
  *
  * @param text The text to be processed
  */
 protected void processTextPosition(TextPosition text) {
   System.out.println(
       "String["
           + text.getXDirAdj()
           + ","
           + text.getYDirAdj()
           + " fs="
           + text.getFontSize()
           + " xscale="
           + text.getXScale()
           + " height="
           + text.getHeightDir()
           + " space="
           + text.getWidthOfSpace()
           + " width="
           + text.getWidthDirAdj()
           + "]"
           + text.getCharacter());
 }