setasign\SetaPDF2\Core\ColorSpace

Indexed Indexed Color Space

File: /SetaPDF v2/Core/ColorSpace/Indexed.php
Old class name (alias): \SetaPDF_Core_ColorSpace_Indexed

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

Type constant

TYPE_EXT_G_STATE

Type constant

TYPE_FONT

Type constant

TYPE_PATTERN

Type constant

TYPE_PROC_SET

Type constant

TYPE_PROPERTIES

Type constant

TYPE_SHADING

Type constant

TYPE_X_OBJECT

Type constant


Properties

$_indirectObject

The indirect object for this color space

$_value

The main color space PDF value


Static Methods


Methods

__construct()

getColorComponents()

public Indexed::getColorComponents (
void
): int

Get the color components of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getDefaultDecodeArray()

public Indexed::getDefaultDecodeArray (
int $bitsPerComponent = null
): array

Get the default decode array of this color space.

Parameters
$bitsPerComponent : int
 
Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getFamily()

public ColorSpace::getFamily (
void
): string

Get the color space family name of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getHival()

public Indexed::getHival (
void
): int

Get the maximum valid index value (hival).

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getIndirectObject()

getLookupTable()

public Indexed::getLookupTable (
void
): array

Get the lookup table.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

Throws \setasign\SetaPDF2\Core\Type\Exception

getPdfValue()

Get the main color space PDF value.

getResourceType()

public AbstractResource::getResourceType (
void
): string

Get the resource-type of an implementation.