SetaPDF_Core_ColorSpace_Lab Lab Color Space

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

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

public const string SetaPDF_Core_Resource::TYPE_COLOR_SPACE = 'ColorSpace'

Type constant

TYPE_EXT_G_STATE

public const string SetaPDF_Core_Resource::TYPE_EXT_G_STATE = 'ExtGState'

Type constant

TYPE_FONT

public const string SetaPDF_Core_Resource::TYPE_FONT = 'Font'

Type constant

TYPE_PATTERN

public const string SetaPDF_Core_Resource::TYPE_PATTERN = 'Pattern'

Type constant

TYPE_PROC_SET

public const string SetaPDF_Core_Resource::TYPE_PROC_SET = 'ProcSet'

Type constant

TYPE_PROPERTIES

public const string SetaPDF_Core_Resource::TYPE_PROPERTIES = 'Properties'

Type constant

TYPE_SHADING

public const string SetaPDF_Core_Resource::TYPE_SHADING = 'Shading'

Type constant

TYPE_X_OBJECT

public const string SetaPDF_Core_Resource::TYPE_X_OBJECT = 'XObject'

Type constant


Properties

$_indirectObject

The indirect object for this color space

$_value


Static Methods


Methods

__construct()

getBlackPoint()

public SetaPDF_Core_ColorSpace_Lab::getBlackPoint (
void
): array|float[]

Get the BlackPoint values.

Exceptions

Throws SetaPDF_Core_Type_Exception

getColorComponents()

Get the color components of this color space.

Exceptions

Throws SetaPDF_Core_Exception

getDefaultDecodeArray()

Get the default decode array of this color space.

Exceptions

Throws SetaPDF_Core_Exception

getFamily()

public SetaPDF_Core_ColorSpace::getFamily (
void
): string

Get the color space family name of this color space.

Exceptions

Throws SetaPDF_Core_Exception

getIndirectObject()

Gets an indirect object for this color space dictionary.

Parameters
$document : SetaPDF_Core_Document
 
Exceptions

Throws InvalidArgumentException

See

getPdfValue()

Get the main color space PDF value.

getRange()

public SetaPDF_Core_ColorSpace_Lab::getRange (
void
): array|int[]

Get the Range values.

Exceptions

Throws SetaPDF_Core_Type_Exception

getResourceType()

Get the resource-type of an implementation.

getWhitePoint()

Get the WhitePoint value.

Exceptions

Throws SetaPDF_Core_Exception

setBlackPoint()

public SetaPDF_Core_ColorSpace_Lab::setBlackPoint (
int|float|int[] $x [, int|float $y = null [, int|float $z = null ]]
): void

Set the BlackPoint value.

Parameters
$x : int|float|int[]
 
$y : int|float
 
$z : int|float
 
Exceptions

Throws SetaPDF_Core_Type_Exception

setRange()

public SetaPDF_Core_ColorSpace_Lab::setRange (
int|float|int[] $aMin [, int|float $aMax = null [, int|float $bMin = null [, int|float $bMax = null ]]]
): void

Set the Range values.

Parameters
$aMin : int|float|int[]
 
$aMax : int|float
 
$bMin : int|float
 
$bMax : int|float
 
Exceptions

Throws SetaPDF_Core_Type_Exception

setWhitePoint()

public SetaPDF_Core_ColorSpace_Lab::setWhitePoint (
int|float|int[] $x [, int|float $y = null [, int|float $z = null ]]
): void

Set the WhitePoint values.

Parameters
$x : int|float|int[]
 
$y : int|float
 
$z : int|float
 
Exceptions

Throws SetaPDF_Core_Exception

Throws SetaPDF_Core_Type_Exception