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

The constructor.

Parameters
$definition : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

getBlackPoint()

getColorComponents()

Get the color components of this color space.

getDefaultDecodeArray()

Get the default decode array of this color space.

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
): void

getResourceType()

Get the resource type of an implementation.

getWhitePoint()

setBlackPoint()

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

Parameters
$x
 
$y
 
$z
 

setRange()

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

Parameters
$aMin
 
$aMax
 
$bMin
 
$bMax
 

setWhitePoint()

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

Parameters
$x
 
$y
 
$z