class HexaPDF:: Content:: ColorSpace:: DeviceGray:: Color
| Parent | Object |
|---|---|
| Included Modules |
HexaPDF::Content::ColorSpace::ColorUtils |
A color in the DeviceGray color space.
See: PDF2.0 s8.6.4.2
Public Class Methods
Initializes the color with the gray component.
The argument gray has to be a float between 0.0 and 1.0.
Public Instance Methods
Returns the DeviceGray color space module.
Returns the normalized gray value as an array.