Class CalRgb
java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.CalRgb
Representation of a CalRgb color space.
-
Field Summary
Fields inherited from class Color
colorSpace, colorValue -
Constructor Summary
ConstructorsConstructorDescriptionCalRgb(float[] whitePoint, float[] value) Creates a new CalRgb color using the given white point and RGB color values.CalRgb(float[] whitePoint, float[] blackPoint, float[] gamma, float[] matrix, float[] value) Creates a new CalRgb color using the given white point, black point, gamma, matrix and RGB color values.Creates a new CalRgb color using the givenPdfCieBasedCscolor space.CalRgb(PdfCieBasedCs.CalRgb cs, float[] value) Creates a new CalRgb color using the givenPdfCieBasedCscolor space and RGB color values. -
Method Summary
Methods inherited from class Color
convertCmykToRgb, convertRgbToCmyk, createColorWithColorSpace, equals, getColorSpace, getColorValue, getNumberOfComponents, hashCode, makeColor, makeColor, setColorValue
-
Constructor Details
-
CalRgb
Creates a new CalRgb color using the givenPdfCieBasedCscolor space.- Parameters:
cs- Color space
-
CalRgb
Creates a new CalRgb color using the givenPdfCieBasedCscolor space and RGB color values.- Parameters:
cs- Color spacevalue- RGB color values
-
CalRgb
public CalRgb(float[] whitePoint, float[] value) Creates a new CalRgb color using the given white point and RGB color values.- Parameters:
whitePoint- Color values for defining the white pointvalue- RGB color values
-
CalRgb
public CalRgb(float[] whitePoint, float[] blackPoint, float[] gamma, float[] matrix, float[] value) Creates a new CalRgb color using the given white point, black point, gamma, matrix and RGB color values.- Parameters:
whitePoint- Color values for defining the white pointblackPoint- Color values for defining the black pointgamma- Gamma correctionmatrix- Matrix correctionvalue- RGB color value
-