Package com.itextpdf.kernel.colors
Class Separation
java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.Separation
Representation of a separation color space.
-
Field Summary
Fields inherited from class com.itextpdf.kernel.colors.Color
colorSpace, colorValue
-
Constructor Summary
ConstructorDescriptionCreates a separation color using the givenPdfSpecialCs
color space.Separation
(PdfSpecialCs.Separation cs, float value) Creates a separation color using the givenPdfSpecialCs
color space and color value.Separation
(String name, PdfColorSpace alternateCs, IPdfFunction tintTransform, float value) Creates a color in a new separation 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
-
Separation
Creates a separation color using the givenPdfSpecialCs
color space.- Parameters:
-
cs
- Color space
-
Separation
Creates a separation color using the givenPdfSpecialCs
color space and color value.- Parameters:
-
cs
- Color space -
value
- Color value
-
Separation
Creates a color in a new separation color space.- Parameters:
-
name
- the name for the separation color -
alternateCs
- the alternative color space -
tintTransform
- the function to transform color to the alternate color space -
value
- the color value
-