setasign\SetaPDF2\Core\ColorSpace

DeviceRgb DeviceRGB Color Space

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

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

getColorComponents()

public DeviceRgb::getColorComponents (
void
): int

Get the color components of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getDefaultDecodeArray()

public DeviceRgb::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.