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


Static Methods


Methods

getAlternateColorSpace()

getAlternateSpace()

WARNING: This method is marked as deprecated!

Use getAlternateColorSpace() instead

Alias for getAlternateColorSpace()

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

Throws \setasign\SetaPDF2\Core\Type\Exception

getColorComponents()

public ColorSpace::getColorComponents (
void
): void

Get the color components of this color space.

getDefaultDecodeArray()

public DeviceN::getDefaultDecodeArray (
void
): array

Get the default decode array of this color space.

getFamily()

public ColorSpace::getFamily (
void
): string

Get the color space family name of this color space.

Exceptions

Throws \setasign\SetaPDF2\Core\Exception

getNames()

public DeviceN::getNames (
void
): array

Get the names specifying the individual color components.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getPdfValue()

getResourceType()

public AbstractResource::getResourceType (
void
): string

Get the resource-type of an implementation.

setAlternateColorSpace()

public DeviceN::setAlternateColorSpace (
ColorSpace $colorSpace
): void

Set the alternate color space.

Parameters
$colorSpace : 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 : \setasign\SetaPDF2\Core\Type\AbstractType
 
Exceptions

Throws \InvalidArgumentException

Throws \setasign\SetaPDF2\Core\Type\Exception