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()

The constructor.

Parameters
$definition : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

getColorComponents()

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()

Gets an indirect object for this color space dictionary.

Parameters
$document : SetaPDF_Core_Document
 
Exceptions

Throws InvalidArgumentException

See

getLookupTable()

Get the lookup table.

getPdfValue()

Get the main color space PDF value.

getResourceType()

Get the resource type of an implementation.