com.itextpdf.text.pdf.spatial.objects
Class XYArray

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfObject
      extended by com.itextpdf.text.pdf.PdfArray
          extended by com.itextpdf.text.pdf.NumberArray
              extended by com.itextpdf.text.pdf.spatial.objects.XYArray
All Implemented Interfaces:
Iterable<com.itextpdf.text.pdf.PdfObject>

public class XYArray
extends com.itextpdf.text.pdf.NumberArray

Creates an Array with two PdfNumber elements, representing an X and Y coordinate.

Since:
5.1.0

Field Summary
 
Fields inherited from class com.itextpdf.text.pdf.PdfArray
arrayList
 
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
XYArray(float x, float y)
          Creates an XYArray object.
 
Method Summary
 
Methods inherited from class com.itextpdf.text.pdf.PdfArray
add, add, add, add, addFirst, asLongArray, contains, getArrayList, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getPdfObject, isEmpty, iterator, listIterator, remove, set, 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
 

Constructor Detail

XYArray

public XYArray(float x,
               float y)
Creates an XYArray object.

Parameters:
x - the value of the X coordinate
y - the value of the Y coordinate


Copyright © 2013. All Rights Reserved.