Package org.openpdf.text.pdf
Class PdfColor
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfArray
org.openpdf.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 org.openpdf.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, toStringMethods inherited from class org.openpdf.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
-