iText 8.0.5 API
iText.Kernel.Colors.IccBased Class Reference

Representation on an ICC Based color space. More...

Inheritance diagram for iText.Kernel.Colors.IccBased:
iText.Kernel.Colors.Color

Public Member Functions

  IccBased (PdfCieBasedCs.IccBased cs)
  Creates an ICC Based color using the given iText.Kernel.Pdf.Colorspace.PdfCieBasedCs color space. More...
 
  IccBased (PdfCieBasedCs.IccBased cs, float[] value)
  Creates an ICC Based color using the given iText.Kernel.Pdf.Colorspace.PdfCieBasedCs color space and color values. More...
 
  IccBased (Stream iccStream)
  Creates IccBased color. More...
 
  IccBased (Stream iccStream, float[] value)
  Creates IccBased color. More...
 
  IccBased (Stream iccStream, float[] range, float[] value)
  Creates an ICC Based color using the given ICC profile stream, range and color values. More...
 
- Public Member Functions inherited from iText.Kernel.Colors.Color
virtual int  GetNumberOfComponents ()
  Returns the number of color value components More...
 
virtual PdfColorSpace  GetColorSpace ()
  Returns the color space to which the color is related. More...
 
virtual float[]  GetColorValue ()
  Returns the color value of the color More...
 
virtual void  SetColorValue (float[] value)
  Sets the color value of the color More...
 
override int  GetHashCode ()
 
override bool  Equals (Object o)
  Indicates whether the color is equal to the given color. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from iText.Kernel.Colors.Color
static iText.Kernel.Colors.Color  MakeColor (PdfColorSpace colorSpace)
  Makes a Color of certain color space. More...
 
static iText.Kernel.Colors.Color  MakeColor (PdfColorSpace colorSpace, float[] colorValue)
  Makes a Color of certain color space and color value. More...
 
static DeviceRgb  ConvertCmykToRgb (DeviceCmyk cmykColor)
  Converts DeviceCmyk color to DeviceRgb color More...
 
static DeviceCmyk  ConvertRgbToCmyk (DeviceRgb rgbColor)
  Converts DeviceRgb color to DeviceCmyk color More...
 
static iText.Kernel.Colors.Color  CreateColorWithColorSpace (float[] colorValue)
  Creates a color object based on the passed through values. More...
 
- Package Functions inherited from iText.Kernel.Colors.Color
  Color (PdfColorSpace colorSpace, float[] colorValue)
  Creates a Color of certain color space and color value. More...
 
- Package Attributes inherited from iText.Kernel.Colors.Color
PdfColorSpace  colorSpace
  The color space of the color More...
 
float[]  colorValue
  The color value of the color More...
 

Detailed Description

Representation on an ICC Based color space.

Constructor & Destructor Documentation

◆ IccBased() [1/5]

iText.Kernel.Colors.IccBased.IccBased ( PdfCieBasedCs.IccBased  cs )
inline

Creates an ICC Based color using the given iText.Kernel.Pdf.Colorspace.PdfCieBasedCs color space.

Parameters
cs Color space

◆ IccBased() [2/5]

iText.Kernel.Colors.IccBased.IccBased ( PdfCieBasedCs.IccBased  cs,
float[]  value 
)
inline

Creates an ICC Based color using the given iText.Kernel.Pdf.Colorspace.PdfCieBasedCs color space and color values.

Parameters
cs Color space
value Color values

◆ IccBased() [3/5]

iText.Kernel.Colors.IccBased.IccBased ( Stream  iccStream )
inline

Creates IccBased color.

Parameters
iccStream ICC profile stream. User is responsible for closing the stream.

◆ IccBased() [4/5]

iText.Kernel.Colors.IccBased.IccBased ( Stream  iccStream,
float[]  value 
)
inline

Creates IccBased color.

Parameters
iccStream ICC profile stream. User is responsible for closing the stream.
value color value.

◆ IccBased() [5/5]

iText.Kernel.Colors.IccBased.IccBased ( Stream  iccStream,
float[]  range,
float[]  value 
)
inline

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