Class DeviceN

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

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

    • DeviceN

      public DeviceN (PdfSpecialCs.DeviceN cs)
      Creates a DeviceN color using the given PdfSpecialCs color space.
      Parameters:
      cs - Color space
    • DeviceN

      public DeviceN (PdfSpecialCs.DeviceN cs, float[] value)
      Creates a DeviceN color using the given PdfSpecialCs color space and color values.
      Parameters:
      cs - Color space
      value - Color component values
    • DeviceN

      public DeviceN (List<String> names, PdfColorSpace alternateCs, IPdfFunction tintTransform, float[] value)
      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