Package com.lowagie.text.pdf
Class PdfColor
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfArray
com.lowagie.text.pdf.PdfColor
A
PdfColor
defines a Color (it's a PdfArray
containing 3 values).- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.lowagie.text.pdf.PdfArray
add, add, add, add, addFirst, contains, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getElements, getPdfObject, isEmpty, listIterator, remove, remove, set, size, toPdf, toString
Methods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, 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
-