Class CalRgb

java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.CalRgb

public class CalRgb extends Color
Representation of a CalRgb color space.
  • Constructor Details

    • CalRgb

      public CalRgb (PdfCieBasedCs.CalRgb cs)
      Creates a new CalRgb color using the given PdfCieBasedCs color space.
      Parameters:
      cs - Color space
    • CalRgb

      public CalRgb (PdfCieBasedCs.CalRgb cs, float[] value)
      Creates a new CalRgb color using the given PdfCieBasedCs color space and RGB color values.
      Parameters:
      cs - Color space
      value - 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 point
      value - 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 point
      blackPoint - Color values for defining the black point
      gamma - Gamma correction
      matrix - Matrix correction
      value - RGB color value