- java.lang.Object
-
- com.itextpdf.text.pdf.PdfTextArray
-
public class PdfTextArray extends java.lang.ObjectPdfTextArraydefines an array with displacements andPdfString-objects.A
TextArrayis used with the operator TJ inPdfText. The first object in this array has to be aPdfString; 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.
-
-
Constructor Summary
Constructors Constructor Description PdfTextArray()PdfTextArray(java.lang.String str)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(float number)voidadd(PdfNumber number)Adds aPdfNumberto thePdfArray.voidadd(java.lang.String str)
-
-
-
Method Detail
-
add
public void add(PdfNumber number)
Adds aPdfNumberto thePdfArray.- Parameters:
number- displacement of the string
-
add
public void add(float number)
-
add
public void add(java.lang.String str)
-
-