Package com.itextpdf.kernel.colors
Class DeviceN
java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.DeviceN
-
Field Summary
Fields inherited from class com.itextpdf.kernel.colors.Color
colorSpace, colorValue
-
Constructor Summary
ConstructorDescriptionDeviceN
(PdfSpecialCs.DeviceN cs, float[] value) DeviceN
(List<String> names, PdfColorSpace alternateCs, IPdfFunction tintTransform, float[] value) Creates a color in a new DeviceN color space. -
Method Summary
Methods inherited from class com.itextpdf.kernel.colors.Color
convertCmykToRgb, convertRgbToCmyk, createColorWithColorSpace, equals, getColorSpace, getColorValue, getNumberOfComponents, hashCode, makeColor, makeColor, setColorValue
-
Constructor Details
-
DeviceN
-
DeviceN
-
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
-