setasign\SetaPDF2\Core\ColorSpace

Lab Lab Color Space

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

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

The constructor.

Parameters
$definition : \SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws \InvalidArgumentException

Throws \setasign\SetaPDF2\Core\Exception

_getDictionary()

getBlackPoint()

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

Get the BlackPoint values.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getColorComponents()

public ColorSpace::getColorComponents (
void
): void

Get the color components of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getDefaultDecodeArray()

public ColorSpace::getDefaultDecodeArray (
void
): void

Get the default decode array of this color space.

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

getIndirectObject()

getPdfValue()

Get the main color space PDF value.

getRange()

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

Get the Range values.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getResourceType()

public AbstractResource::getResourceType (
void
): string

Get the resource-type of an implementation.

getWhitePoint()

public Lab::getWhitePoint (
void
): array

Get the WhitePoint value.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

setBlackPoint()

public 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 \setasign\SetaPDF2\Core\Type\Exception

setRange()

public 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 \setasign\SetaPDF2\Core\Type\Exception

setWhitePoint()

public 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 \setasign\SetaPDF2\Core\Exception

Throws \setasign\SetaPDF2\Core\Type\Exception