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