com.itextpdf.text.pdf.spatial
Class PointData

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfObject
      extended by com.itextpdf.text.pdf.PdfDictionary
          extended by com.itextpdf.text.pdf.spatial.PointData

public class PointData
extends com.itextpdf.text.pdf.PdfDictionary

A Point Data dictionary.

Since:
5.1.0

Field Summary
protected  com.itextpdf.text.pdf.PdfArray names
          An array of names that identify the internal data elements of the individual point arrays in the XPTS array.
protected  com.itextpdf.text.pdf.PdfArray xpts
          An array with XPTS values.
 
Fields inherited from class com.itextpdf.text.pdf.PdfDictionary
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES
 
Fields inherited from class com.itextpdf.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type
 
Constructor Summary
PointData()
          Creates a Point Data dictionary.
 
Method Summary
 void addXPTSValue(com.itextpdf.text.pdf.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

names

protected com.itextpdf.text.pdf.PdfArray names
An array of names that identify the internal data elements of the individual point arrays in the XPTS array.


xpts

protected com.itextpdf.text.pdf.PdfArray xpts
An array with XPTS values.

Constructor Detail

PointData

public PointData()
Creates a Point Data dictionary.

Method Detail

addXPTSValue

public void addXPTSValue(com.itextpdf.text.pdf.PdfNumber value,
                         PtIdentifier identifier)
Adds a point to the Point Data dictionary.

Parameters:
value - an XPTS value
identifier -


Copyright © 2013. All Rights Reserved.