SetaPDF_Core_ColorSpace_IccBased ICCBased Color Space

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

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

TYPE_EXT_G_STATE

TYPE_FONT

TYPE_PATTERN

TYPE_PROC_SET

TYPE_PROPERTIES

TYPE_SHADING

TYPE_X_OBJECT


Static Properties

$_profileStreams

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

An array caching profile stream objects.


Properties

$_indirectObject


Static Methods

create()

static public SetaPDF_Core_ColorSpace_IccBased SetaPDF_Core_ColorSpace_IccBased::create ( SetaPDF_Core_IccProfile_Stream $iccStream )

Creates an instance of this color space.

Parameters
$iccStream : SetaPDF_Core_IccProfile_Stream
 

freeCache()

static public void SetaPDF_Core_ColorSpace_IccBased::freeCache ( SetaPDF_Core_Document $document )

Release profile stream instances by a document instance.

Parameters
$document : SetaPDF_Core_Document
 

Methods

__construct()

public SetaPDF_Core_ColorSpace_IccBased::__construct ( SetaPDF_Core_Type_AbstractType $definition )

The constructor.

Parameters
$definition : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

getAlternateColorSpace()

getColorComponents()

public integer SetaPDF_Core_ColorSpace_IccBased::getColorComponents ( void )

Get the color components of this color space.

getDefaultDecodeArray()

public array SetaPDF_Core_ColorSpace_IccBased::getDefaultDecodeArray ( void )

Get the default decode array of this color space.

getFamily()

public string SetaPDF_Core_ColorSpace::getFamily ( void )

Get the color space family name of this color space.

Exceptions

Throws SetaPDF_Core_Exception

getIccProfileStream()

public SetaPDF_Core_IccProfile_Stream SetaPDF_Core_ColorSpace_IccBased::getIccProfileStream ( void )

Get an instance of the ICC Profile stream.

getIndirectObject()

public SetaPDF_Core_Type_IndirectObjectInterface SetaPDF_Core_ColorSpace_IccBased::getIndirectObject ( [ SetaPDF_Core_Document $document = null ] )

Gets an indirect object for this color space dictionary.

Parameters
$document : SetaPDF_Core_Document
 
Exceptions

Throws InvalidArgumentException

See

getPdfValue()

public SetaPDF_Core_Type_Name|SetaPDF_Core_Type_Array SetaPDF_Core_ColorSpace::getPdfValue ( void )

Get the main color space PDF value.

getResourceType()

public string SetaPDF_Core_ColorSpace_IccBased::getResourceType ( void )

Get the resource type of an implementation.