A color in the
DeviceGray color space.
Color values can either be integers in the range from 0 to 255 or floating point numbers between 0.0 and 1.0. The integer color values are automatically normalized to the
DeviceGray color value range of 0.0 to 1.0.
See: PDF1.7 s126.96.36.199
Public Class Methods
Initializes the color with the
gray has to be either an integer between 0 and 255 or a float between 0.0 and 1.0.
Public Instance Methods
Returns the normalized gray value as an array.