iText 8.0.2 API
iText.Kernel.Colors.DeviceN Class Reference
Inheritance diagram for iText.Kernel.Colors.DeviceN:
iText.Kernel.Colors.Color

Public Member Functions

  DeviceN (PdfSpecialCs.DeviceN cs)
 
  DeviceN (PdfSpecialCs.DeviceN cs, float[] value)
 
  DeviceN (IList< String > names, PdfColorSpace alternateCs, IPdfFunction tintTransform, float[] value)
  Creates a color in a new DeviceN color space. 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...
 

Constructor & Destructor Documentation

◆ DeviceN()

iText.Kernel.Colors.DeviceN.DeviceN ( IList< String >  names,
PdfColorSpace  alternateCs,
IPdfFunction  tintTransform,
float[]  value 
)
inline

Creates a color in a new DeviceN color space.

Parameters
names the names oif the components
alternateCs the alternate color space
tintTransform the function to transform color to the alternate color space
value the values for the components of this color