setasign\SetaPDF2\Core\ColorSpace

ColorSpace Default implementation of a color space

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

Class hierarchy

Summary

Properties

$_indirectObject

The indirect object for this color space

$_value

The main color space PDF value


Static Methods


Methods

__construct()

The constructor.

Parameters
$value : \SetaPDF_Core_Type_AbstractType

A color space definition

getColorComponents()

public ColorSpace::getColorComponents (
void
): void

Get the color components of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getDefaultDecodeArray()

public ColorSpace::getDefaultDecodeArray (
void
): void

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.