Package com.itextpdf.kernel.colors
Class Indexed
- java.lang.Object
-
- com.itextpdf.kernel.colors.Color
-
- com.itextpdf.kernel.colors.Indexed
-
public class Indexed extends Color
Representation of an indexed color space.
-
-
Field Summary
-
Fields inherited from class com.itextpdf.kernel.colors.Color
colorSpace, colorValue
-
-
Constructor Summary
Constructors Constructor Description Indexed(PdfColorSpace colorSpace)
Creates an indexed color using the givenPdfColorSpace
.Indexed(PdfColorSpace colorSpace, int colorValue)
Creates an indexed color using the givenPdfColorSpace
and 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 Detail
-
Indexed
public Indexed(PdfColorSpace colorSpace)
Creates an indexed color using the givenPdfColorSpace
.- Parameters:
colorSpace
- Object containing the most common properties of color spaces
-
Indexed
public Indexed(PdfColorSpace colorSpace, int colorValue)
Creates an indexed color using the givenPdfColorSpace
and color values.- Parameters:
colorSpace
- Object containing the most common properties of color spacescolorValue
- Color values
-
-