Package com.dynamicpdf.api
Class CmykColor
java.lang.Object
com.dynamicpdf.api.Color
com.dynamicpdf.api.CmykColor
-
Constructor Summary
ConstructorsConstructorDescriptionCmykColor(float cyan, float magenta, float yellow, float black)Initializes a new instance of theCmykColorclass. -
Method Summary
-
Constructor Details
-
CmykColor
public CmykColor(float cyan, float magenta, float yellow, float black)Initializes a new instance of theCmykColorclass.- Parameters:
cyan- The cyan intensity.magenta- The magenta intensity.yellow- The yellow intensity.black- The black intensity.Values must be between 0.0 and 1.0.
-
-
Method Details
-
getBlack
Gets the color black.- Returns:
- The color black.
-
getWhite
Gets the color white.- Returns:
- The color white.
-
getColorString
Gets the color string- Specified by:
getColorStringin classColor- Returns:
- The color string
-