Package com.itextpdf.kernel.colors
Class Indexed
java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.Indexed
Representation of an indexed color space.
-
Field Summary
Fields inherited from class com.itextpdf.kernel.colors.Color
colorSpace, colorValue -
Constructor Summary
ConstructorsConstructorDescriptionIndexed(PdfColorSpace colorSpace) Creates an indexed color using the givenPdfColorSpace.Indexed(PdfColorSpace colorSpace, int colorValue) Creates an indexed color using the givenPdfColorSpaceand color values. -
Method Summary
Methods inherited from class com.itextpdf.kernel.colors.Color
convertCmykToRgb, convertRgbToCmyk, createColorWithColorSpace, equals, getColorSpace, getColorValue, getNumberOfComponents, hashCode, makeColor, makeColor, setColorValue
-
Constructor Details
-
Indexed
Creates an indexed color using the givenPdfColorSpace.- Parameters:
-
colorSpace- Object containing the most common properties of color spaces
-
Indexed
Creates an indexed color using the givenPdfColorSpaceand color values.- Parameters:
-
colorSpace- Object containing the most common properties of color spaces -
colorValue- Color values
-