Package com.itextpdf.text.pdf
Class PdfDeviceNColor
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfDeviceNColor
-
- All Implemented Interfaces:
ICachedColorSpace
,IPdfSpecialColorSpace
public class PdfDeviceNColor extends java.lang.Object implements ICachedColorSpace, IPdfSpecialColorSpace
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ColorDetails[]
colorantsDetails
(package private) PdfSpotColor[]
spotColors
-
Constructor Summary
Constructors Constructor Description PdfDeviceNColor(PdfSpotColor[] spotColors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ColorDetails[]
getColorantDetails(PdfWriter writer)
int
getNumberOfColorants()
PdfObject
getPdfObject(PdfWriter writer)
PdfSpotColor[]
getSpotColors()
int
hashCode()
-
-
-
Field Detail
-
spotColors
PdfSpotColor[] spotColors
-
colorantsDetails
ColorDetails[] colorantsDetails
-
-
Constructor Detail
-
PdfDeviceNColor
public PdfDeviceNColor(PdfSpotColor[] spotColors)
-
-
Method Detail
-
getNumberOfColorants
public int getNumberOfColorants()
-
getSpotColors
public PdfSpotColor[] getSpotColors()
-
getColorantDetails
public ColorDetails[] getColorantDetails(PdfWriter writer)
- Specified by:
getColorantDetails
in interfaceIPdfSpecialColorSpace
-
getPdfObject
public PdfObject getPdfObject(PdfWriter writer)
- Specified by:
getPdfObject
in interfaceICachedColorSpace
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfaceICachedColorSpace
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceICachedColorSpace
- Overrides:
hashCode
in classjava.lang.Object
-
-