SetaPDF_Core_ColorSpace_DeviceN DeviceN Color Space

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

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

const SetaPDF_Core_ColorSpace_DeviceN::TYPE_COLOR_SPACE = 'ColorSpace'

TYPE_EXT_G_STATE

const SetaPDF_Core_ColorSpace_DeviceN::TYPE_EXT_G_STATE = 'ExtGState'

TYPE_FONT

const SetaPDF_Core_ColorSpace_DeviceN::TYPE_FONT = 'Font'

TYPE_PATTERN

const SetaPDF_Core_ColorSpace_DeviceN::TYPE_PATTERN = 'Pattern'

TYPE_PROC_SET

const SetaPDF_Core_ColorSpace_DeviceN::TYPE_PROC_SET = 'ProcSet'

TYPE_PROPERTIES

const SetaPDF_Core_ColorSpace_DeviceN::TYPE_PROPERTIES = 'Properties'

TYPE_SHADING

const SetaPDF_Core_ColorSpace_DeviceN::TYPE_SHADING = 'Shading'

TYPE_X_OBJECT

const SetaPDF_Core_ColorSpace_DeviceN::TYPE_X_OBJECT = 'XObject'


Properties

$_indirectObject

protected SetaPDF_Core_Type_IndirectObjectInterface SetaPDF_Core_ColorSpace_DeviceN::$_indirectObject

The indirect object for this color space

$_value

protected SetaPDF_Core_Type_Name|SetaPDF_Core_Type_Array SetaPDF_Core_ColorSpace_DeviceN::$_value

The main color space PDF value


Static Methods


Methods

__construct()

The constructor.

Parameters
$definition : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

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

getNames()

Get the names specifying the individual color components.

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
 

setNames()

Set the names specifying the individual color components.

Parameters
$names : SetaPDF_Core_Type_Name|array
 

setTintTransform()

Set the tint transformation function.

Parameters
$tintTransform : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException