setasign\SetaPDF2\Core\ColorSpace

DeviceGray DeviceGray Color Space

File: /SetaPDF v2/Core/ColorSpace/DeviceGray.php
Old class name (alias): \SetaPDF_Core_ColorSpace_DeviceGray

Class hierarchy

Summary

Properties

$_indirectObject

The indirect object for this color space

$_value

The main color space PDF value


Static Methods

create()

Creates an instance of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception


Methods

__construct()

getColorComponents()

public DeviceGray::getColorComponents (
void
): int

Get the color components of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getDefaultDecodeArray()

public DeviceGray::getDefaultDecodeArray (
void
): array

Get the default decode array of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getFamily()

public ColorSpace::getFamily (
void
): string

Get the color space family name of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getPdfValue()

Get the main color space PDF value.