PdfFloat
Vue de l’ensemble
‘PdfFloat’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: PdfBase.
Objet numéro réel PDF (§7.3.3, ISO 32000-1:2008).
Cette classe fournit 14 méthodes pour travailler avec des objets PdfFloat dans les programmes Java. Les méthodologies disponibles comprennent: Pdffload, accept , ‘doubleValue ; 'equals; fLOatVALE : getObjectKey ; hashCode et isDirty .
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
dirty | boolean | Read | Returns {@code true} if this object was modified since loading. |
indirect | boolean | Read | Returns whether this object is an indirect object (has an object key). |
objectKey | PdfObjectKey | Read | Returns the indirect object key, or {@code null} for direct objects. |
méthodes
| Signature | Description |
|---|---|
PdfFloat(value: double) | Creates a PdfFloat from a double value. |
PdfFloat(textValue: String) | Creates a PdfFloat by parsing a PDF numeric token. |
doubleValue() → double | Returns the value as a {@code double}. |
floatValue() → float | Returns the value as a {@code float}. |
writeTo(os: OutputStream) | |
accept(visitor: IPdfVisitor<T>) → T | |
equals(o: Object) → boolean | |
hashCode() → int | |
toString() → String | |
isDirty() → boolean | Returns {@code true} if this object was modified since loading. |
setDirty(dirty: boolean) | Sets the dirty flag on this object. |
isIndirect() → boolean | Returns whether this object is an indirect object (has an object key). |
getObjectKey() → PdfObjectKey | Returns the indirect object key, or {@code null} for direct objects. |
setObjectKey(key: PdfObjectKey) | Sets the indirect object key. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise