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


Static Methods

create()

public static DeviceGray::create (
void
): self

Creates an instance of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception


Methods

getColorComponents()

public DeviceGray::getColorComponents (
void
): int

Get the color components of this color space.

getDefaultDecodeArray()

public DeviceGray::getDefaultDecodeArray (
void
): array

Get the default decode array of this color space.

getFamily()

public ColorSpace::getFamily (
void
): string

Get the color space family name of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getPdfValue()