Class PdfColor
java.lang.Object
com.aowagie.text.pdf.PdfObject
com.aowagie.text.pdf.PdfArray
com.aowagie.text.pdf.PdfColor
A
PdfColor defines a Color (it's a PdfArray containing 3 values).- See Also:
-
Field Summary
Fields inherited from class PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PdfArray
add, add, add, add, addFirst, contains, getArrayList, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsString, getDirectObject, getPdfObject, isEmpty, listIterator, remove, set, size, toPdf, toStringMethods inherited from class PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
Constructor Details
-
PdfColor
PdfColor(int red, int green, int blue) Constructs a newPdfColor.- Parameters:
red- a value between 0 and 255green- a value between 0 and 255blue- a value between 0 and 255
-
PdfColor
PdfColor(Color color)
-