Class XYArray
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfArray
com.itextpdf.text.pdf.NumberArray
com.itextpdf.text.pdf.spatial.objects.XYArray
- All Implemented Interfaces:
Serializable
,Iterable<PdfObject>
Creates an Array with two PdfNumber elements, representing an X and Y coordinate.
- Since:
- 5.1.0
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.itextpdf.text.pdf.PdfArray
add, add, add, add, addFirst, asDoubleArray, 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
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
XYArray
public XYArray(float x, float y) Creates an XYArray object.- Parameters:
x
- the value of the X coordinatey
- the value of the Y coordinate
-