setasign\SetaPDF2\Core\ColorSpace

AbstractResource Abstract class for introducing methods for ResourceInterface implementation

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

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

Type constant

TYPE_EXT_G_STATE

Type constant

TYPE_FONT

Type constant

TYPE_PATTERN

Type constant

TYPE_PROC_SET

Type constant

TYPE_PROPERTIES

Type constant

TYPE_SHADING

Type constant

TYPE_X_OBJECT

Type constant


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

getIndirectObject()

getPdfValue()

Get the main color space PDF value.

getResourceType()

public AbstractResource::getResourceType (
void
): string

Get the resource-type of an implementation.