SetaPDF_Core_ColorSpace_IccBased ICCBased Color Space

File: /SetaPDF v2/Core/ColorSpace/IccBased.php

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

const SetaPDF_Core_ColorSpace_IccBased::TYPE_COLOR_SPACE = 'ColorSpace'

TYPE_EXT_G_STATE

const SetaPDF_Core_ColorSpace_IccBased::TYPE_EXT_G_STATE = 'ExtGState'

TYPE_FONT

const SetaPDF_Core_ColorSpace_IccBased::TYPE_FONT = 'Font'

TYPE_PATTERN

const SetaPDF_Core_ColorSpace_IccBased::TYPE_PATTERN = 'Pattern'

TYPE_PROC_SET

const SetaPDF_Core_ColorSpace_IccBased::TYPE_PROC_SET = 'ProcSet'

TYPE_PROPERTIES

const SetaPDF_Core_ColorSpace_IccBased::TYPE_PROPERTIES = 'Properties'

TYPE_SHADING

const SetaPDF_Core_ColorSpace_IccBased::TYPE_SHADING = 'Shading'

TYPE_X_OBJECT

const SetaPDF_Core_ColorSpace_IccBased::TYPE_X_OBJECT = 'XObject'


Static Properties

$_profileStreams

static public array SetaPDF_Core_ColorSpace_IccBased::$_profileStreams = array()

An array caching profile stream objects.


Properties

$_indirectObject

protected SetaPDF_Core_Type_IndirectObjectInterface SetaPDF_Core_ColorSpace_IccBased::$_indirectObject

The indirect object for this color space

$_value

protected SetaPDF_Core_Type_Name|SetaPDF_Core_Type_Array SetaPDF_Core_ColorSpace_IccBased::$_value

The main color space PDF value


Static Methods

create()

Creates an instance of this color space.

Parameters
$iccStream : SetaPDF_Core_IccProfile_Stream
 

freeCache()

Release profile stream instances by a document instance.

Parameters
$document : SetaPDF_Core_Document
 

Methods

__construct()

The constructor.

Parameters
$definition : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

getColorComponents()

Get the color components of this color space.

getDefaultDecodeArray()

Get the default decode array of this color space.

getFamily()

public SetaPDF_Core_ColorSpace::getFamily (
void
): string

Get the color space family name of this color space.

Exceptions

Throws SetaPDF_Core_Exception

getIccProfileStream()

Get an instance of the ICC Profile stream.

getIndirectObject()

Gets an indirect object for this color space dictionary.

Parameters
$document : SetaPDF_Core_Document
 
Exceptions

Throws InvalidArgumentException

See

getPdfValue()

Get the main color space PDF value.

getResourceType()

Get the resource type of an implementation.