public class PDFReal extends PDFObject
A PDFReal represents a single floating point value, and may be inserted into any collection object.
| Constructor and Description |
|---|
PDFReal(double value,
Document doc,
boolean indirect)
General constructor
|
PDFReal(double value,
PDFObject docFromObj,
boolean indirect)
General constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
double |
getValue()
Floating-point value of this object.
|
java.lang.String |
toString() |
clone, clone, clone, clone, clone, compareTo, destroy, enumPDFObjects, equals, getDocument, getGeneration, getID, getIndirect, getPDFHashValuepublic PDFReal(double value,
Document doc,
boolean indirect)
value - Double value of this PDFRealdoc - Document object containing this PDFRealindirect - flag marking this as an indirect PDFObjectpublic PDFReal(double value,
PDFObject docFromObj,
boolean indirect)
value - Double value of this PDFRealdocFromObj - The new PDFArray will be created in the same document as this object.indirect - flag marking this as an indirect PDFObject