Package com.itextpdf.kernel.colors
Class IccBased
java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.IccBased
Representation on an ICC Based color space.
-
Field Summary
Fields inherited from class com.itextpdf.kernel.colors.Color
colorSpace, colorValue
-
Constructor Summary
ConstructorDescriptionCreates an ICC Based color using the givenPdfCieBasedCs
color space.IccBased
(PdfCieBasedCs.IccBased cs, float[] value) Creates an ICC Based color using the givenPdfCieBasedCs
color space and color values.IccBased
(InputStream iccStream) Creates IccBased color.IccBased
(InputStream iccStream, float[] value) Creates IccBased color.IccBased
(InputStream iccStream, float[] range, float[] value) Creates an ICC Based color using the given ICC profile stream, range 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 Details
-
IccBased
Creates an ICC Based color using the givenPdfCieBasedCs
color space.- Parameters:
-
cs
- Color space
-
IccBased
Creates an ICC Based color using the givenPdfCieBasedCs
color space and color values.- Parameters:
-
cs
- Color space -
value
- Color values
-
IccBased
Creates IccBased color.- Parameters:
-
iccStream
- ICC profile stream. User is responsible for closing the stream.
-
IccBased
Creates IccBased color.- Parameters:
-
iccStream
- ICC profile stream. User is responsible for closing the stream. -
value
- color value.
-
IccBased
Creates an ICC Based color using the given ICC profile stream, range and color values.- Parameters:
-
iccStream
- ICC profile stream. User is responsible for closing the stream. -
range
- Range for color -
value
- Color values
-