Package com.dynamicpdf.api
Class CmykColor
java.lang.Object
com.dynamicpdf.api.Color
com.dynamicpdf.api.CmykColor
-
Constructor Summary
ConstructorDescriptionCmykColor(float cyan, float magenta, float yellow, float black)
Initializes a new instance of theCmykColor
class. -
Method Summary
-
Constructor Details
-
CmykColor
public CmykColor(float cyan, float magenta, float yellow, float black)Initializes a new instance of theCmykColor
class.- 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:
getColorString
in classColor
- Returns:
- The color string
-