SetaPDF_Core_ColorSpace_Separation Separation Color Space

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

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

TYPE_EXT_G_STATE

TYPE_FONT

TYPE_PATTERN

TYPE_PROC_SET

TYPE_PROPERTIES

TYPE_SHADING

TYPE_X_OBJECT


Properties

$_indirectObject


Static Methods

createSpotColor()

public static SetaPDF_Core_ColorSpace_Separation::createSpotColor (
SetaPDF_Core_Document $document, string $name, int|float|array $c [, int|float $m = null [, int|float $y = null [, int|float $k = null ]]]
): SetaPDF_Core_ColorSpace_Separation

Creates a spot color color space.

Parameters
$document : SetaPDF_Core_Document
 
$name : string
 
$c : int|float|array

If is array $m, $y, $k will be ignored. The array need 4 entries.

$m : int|float
 
$y : int|float
 
$k : int|float
 

Methods

__construct()

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

getName()

Get the name of the colorant that this Separation color space is intended to represent.

getPdfValue()

Get the main color space PDF value.

getResourceType()

Get the resource type of an implementation.

getTintTransform()

setAlternateColorSpace()

Set the alternate color space.

Parameters
$colorSpace : SetaPDF_Core_ColorSpace
 

setName()

public SetaPDF_Core_ColorSpace_Separation::setName (
string $name
): void

Set the name of the colorant that this Separation color space is intended to represent.

Parameters
$name : string
 

setTintTransform()

Set the tint transformation function.

Parameters
$tintTransform : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException