Package com.itextpdf.text.pdf.spatial
Class PointData
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfObject
-
- com.itextpdf.text.pdf.PdfDictionary
-
- com.itextpdf.text.pdf.spatial.PointData
-
- All Implemented Interfaces:
java.io.Serializable
public class PointData extends PdfDictionary
A Point Data dictionary.- Since:
- 5.1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected PdfArray
names
An array of names that identify the internal data elements of the individual point arrays in the XPTS array.protected PdfArray
xpts
An array with XPTS values.
-
Constructor Summary
Constructors Constructor Description PointData()
Creates a Point Data dictionary.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addXPTSValue(PdfNumber value, PtIdentifier identifier)
Adds a point to the Point Data dictionary.-
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
-
Methods inherited from class com.itextpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
-
-
-
Method Detail
-
addXPTSValue
public void addXPTSValue(PdfNumber value, PtIdentifier identifier)
Adds a point to the Point Data dictionary.- Parameters:
value
- an XPTS valueidentifier
-
-
-