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:
Serializable
A Point Data dictionary.
- Since:
- 5.1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PdfArray
An array of names that identify the internal data elements of the individual point arrays in the XPTS array.protected PdfArray
An array with XPTS values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
names
An array of names that identify the internal data elements of the individual point arrays in the XPTS array. -
xpts
An array with XPTS values.
-
-
Constructor Details
-
PointData
public PointData()Creates a Point Data dictionary.
-
-
Method Details
-
addXPTSValue
Adds a point to the Point Data dictionary.- Parameters:
value
- an XPTS valueidentifier
-
-