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 booleanequals(java.lang.Object o)ColorDetails[]getColorantDetails(PdfWriter writer)intgetNumberOfColorants()PdfObjectgetPdfObject(PdfWriter writer)PdfSpotColor[]getSpotColors()inthashCode()
-
-
-
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:
getColorantDetailsin interfaceIPdfSpecialColorSpace
-
getPdfObject
public PdfObject getPdfObject(PdfWriter writer)
- Specified by:
getPdfObjectin interfaceICachedColorSpace
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin interfaceICachedColorSpace- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceICachedColorSpace- Overrides:
hashCodein classjava.lang.Object
-
-