com.itextpdf.text.pdf.spatial.objects
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:
- Iterable<PdfObject>
public class XYArray
- extends NumberArray
Creates an Array with two PdfNumber elements, representing an X and Y coordinate.
- Since:
- 5.1.0
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. |
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 |
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
Copyright © 2014. All Rights Reserved.