setasign\SetaPDF2\Core\ColorSpace

IccBased ICCBased Color Space

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

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


Static Methods

create()

Creates an instance of this color space.

Parameters
$iccStream : \setasign\SetaPDF2\Core\IccProfile\Stream
 
Exceptions

Throws \setasign\SetaPDF2\Core\Exception

freeCache()

public static IccBased::freeCache (): void

Release profile stream instances by a document instance.

Parameters
$document : \setasign\SetaPDF2\Core\Document
 

Methods

_getStream()

private IccBased::_getStream (
void
): void
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getColorComponents()

public IccBased::getColorComponents (
void
): int

Get the color components of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getDefaultDecodeArray()

public IccBased::getDefaultDecodeArray (
void
): array

Get the default decode array of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getFamily()

public ColorSpace::getFamily (
void
): string

Get the color space family name of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getIccProfileStream()

Get an instance of the ICC Profile stream.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getPdfValue()

getResourceType()

public AbstractResource::getResourceType (
void
): string

Get the resource-type of an implementation.