SetaPDF_Core_ColorSpace_Indexed Indexed Color Space

File: /SetaPDF/Core/ColorSpace/Indexed.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


Properties

$_indirectObject


Static Methods


Methods

__construct()

public SetaPDF_Core_ColorSpace_Indexed::__construct ( SetaPDF_Core_Type_AbstractType $definition )

The constructor.

Parameters
$definition : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

getColorComponents()

public integer SetaPDF_Core_ColorSpace_Indexed::getColorComponents ( void )

Get the color components of this color space.

getDefaultDecodeArray()

public array SetaPDF_Core_ColorSpace_Indexed::getDefaultDecodeArray ( [ int $bitsPerComponent = null ] )

Get the default decode array of this color space.

Parameters
$bitsPerComponent : int
 

getFamily()

public string SetaPDF_Core_ColorSpace::getFamily ( void )

Get the color space family name of this color space.

Exceptions

Throws SetaPDF_Core_Exception

getHival()

public integer SetaPDF_Core_ColorSpace_Indexed::getHival ( void )

Get the maximum valid index value (hival).

getIndirectObject()

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

Gets an indirect object for this color space dictionary.

Parameters
$document : SetaPDF_Core_Document
 
Exceptions

Throws InvalidArgumentException

See

getLookupTable()

public array SetaPDF_Core_ColorSpace_Indexed::getLookupTable ( void )

Get the lookup table.

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_Indexed::getResourceType ( void )

Get the resource type of an implementation.