class HexaPDF:: Content:: ColorSpace:: DeviceGray
| Parent | Object |
|---|
The DeviceGray color space.
Constants
- DEFAULT¶
The one (and only)
DeviceGraycolor space.
Public Class Methods
Returns the DeviceGray color space object.
Public Instance Methods
Returns the color object for the given gray component.
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.
Returns the default color for the DeviceGray color space.