Class IccBased

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

public class IccBased extends Color
Representation on an ICC Based color space.
  • Constructor Details

    • IccBased

      public IccBased (PdfCieBasedCs.IccBased cs)
      Creates an ICC Based color using the given PdfCieBasedCs color space.
      Parameters:
      cs - Color space
    • IccBased

      public IccBased (PdfCieBasedCs.IccBased cs, float[] value)
      Creates an ICC Based color using the given PdfCieBasedCs color space and color values.
      Parameters:
      cs - Color space
      value - Color values
    • IccBased

      public IccBased (InputStream iccStream)
      Creates IccBased color.
      Parameters:
      iccStream - ICC profile stream. User is responsible for closing the stream.
    • IccBased

      public IccBased (InputStream iccStream, float[] value)
      Creates IccBased color.
      Parameters:
      iccStream - ICC profile stream. User is responsible for closing the stream.
      value - color value.
    • IccBased

      public IccBased (InputStream iccStream, float[] range, float[] value)
      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