Package com.dynamicpdf.api
Class Grayscale
java.lang.Object
com.dynamicpdf.api.Color
com.dynamicpdf.api.Grayscale
Represents a grayscale color.
- 
Constructor Summary
ConstructorsConstructorDescriptionGrayscale(float grayLevel)Initializes a new instance of theGrayscaleclass. - 
Method Summary
 
- 
Constructor Details
- 
Grayscale
public Grayscale(float grayLevel)Initializes a new instance of theGrayscaleclass.- Parameters:
 grayLevel- The gray level for the color.
 
 - 
 - 
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.
 
 
 -