setasign\SetaPDF2\Core\ColorSpace

DeviceN DeviceN Color Space

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

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 ColorSpace::getColorComponents (
void
): void

Get the color components of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getDefaultDecodeArray()

public DeviceN::getDefaultDecodeArray (
void
): array

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

getNames()

public DeviceN::getNames (
void
): array

Get the names specifying the individual color components.

Exceptions

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.

setAlternateColorSpace()

Set the alternate color space.

Parameters
$colorSpace : \SetaPDF_Core_ColorSpace
 

setNames()

public DeviceN::setNames (
array $names
): void

Set the names specifying the individual color components.

Parameters
$names : array
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setTintTransform()

Set the tint transformation function.

Parameters
$tintTransform : \SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws \InvalidArgumentException

Throws \setasign\SetaPDF2\Core\Type\Exception