Class PdfTextArray

All Implemented Interfaces:
Iterable<PdfObject>

public class PdfTextArray extends PdfArray
PdfTextArray defines an array with displacements and PdfString-objects.

A PdfTextArray is used with the operator TJ in PdfCanvas. The first object in this array has to be a PdfString; see reference manual version 1.3 section 8.7.5, pages 346-347. OR see reference manual version 1.6 section 5.3.2, pages 378-379. To emit a more efficient array, we consolidate repeated numbers or strings into single array entries. For example: "add( 50 ); add( -50 );" will REMOVE the combined zero from the array.