SetaPDF_Core_ColorSpace_Indexed Indexed Color Space

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

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

const SetaPDF_Core_ColorSpace_Indexed::TYPE_COLOR_SPACE = 'ColorSpace'

TYPE_EXT_G_STATE

const SetaPDF_Core_ColorSpace_Indexed::TYPE_EXT_G_STATE = 'ExtGState'

TYPE_FONT

const SetaPDF_Core_ColorSpace_Indexed::TYPE_FONT = 'Font'

TYPE_PATTERN

const SetaPDF_Core_ColorSpace_Indexed::TYPE_PATTERN = 'Pattern'

TYPE_PROC_SET

const SetaPDF_Core_ColorSpace_Indexed::TYPE_PROC_SET = 'ProcSet'

TYPE_PROPERTIES

const SetaPDF_Core_ColorSpace_Indexed::TYPE_PROPERTIES = 'Properties'

TYPE_SHADING

const SetaPDF_Core_ColorSpace_Indexed::TYPE_SHADING = 'Shading'

TYPE_X_OBJECT

const SetaPDF_Core_ColorSpace_Indexed::TYPE_X_OBJECT = 'XObject'


Properties

$_indirectObject

protected SetaPDF_Core_Type_IndirectObjectInterface SetaPDF_Core_ColorSpace_Indexed::$_indirectObject

The indirect object for this color space

$_value

protected SetaPDF_Core_Type_Name|SetaPDF_Core_Type_Array SetaPDF_Core_ColorSpace_Indexed::$_value

The main color space PDF value


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 SetaPDF_Core_ColorSpace_Indexed::getDefaultDecodeArray (
[ int $bitsPerComponent = null ]
): array

Get the default decode array of this color space.

Parameters
$bitsPerComponent : int
 

getFamily()

public SetaPDF_Core_ColorSpace::getFamily (
void
): string

Get the color space family name of this color space.

Exceptions

Throws SetaPDF_Core_Exception

getHival()

public SetaPDF_Core_ColorSpace_Indexed::getHival (
void
): integer

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.