SetaPDF_Core_ColorSpace_DeviceN DeviceN Color Space

File: /SetaPDF/Core/ColorSpace/DeviceN.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


Methods

__construct()

public SetaPDF_Core_ColorSpace_DeviceN::__construct ( SetaPDF_Core_Type_AbstractType $definition )

The constructor.

Parameters
$definition : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

getColorComponents()

public integer SetaPDF_Core_ColorSpace::getColorComponents ( void )

Get the color components of this color space.

getDefaultDecodeArray()

public array SetaPDF_Core_ColorSpace_DeviceN::getDefaultDecodeArray ( void )

Get the default decode array of this color space.

getFamily()

public string SetaPDF_Core_ColorSpace::getFamily ( void )

Get the color space family name of this color space.

Exceptions

Throws SetaPDF_Core_Exception

getIndirectObject()

public SetaPDF_Core_Type_IndirectObjectInterface SetaPDF_Core_ColorSpace_DeviceN::getIndirectObject ( [ SetaPDF_Core_Document $document = null ] )

Gets an indirect object for this color space dictionary.

Parameters
$document : SetaPDF_Core_Document
 
Exceptions

Throws InvalidArgumentException

See

getNames()

public array SetaPDF_Core_ColorSpace_DeviceN::getNames ( void )

Get the names specifying the individual color components.

getPdfValue()

public SetaPDF_Core_Type_Name|SetaPDF_Core_Type_Array SetaPDF_Core_ColorSpace::getPdfValue ( void )

Get the main color space PDF value.

getResourceType()

public string SetaPDF_Core_ColorSpace_DeviceN::getResourceType ( void )

Get the resource type of an implementation.

getTintTransform()

public SetaPDF_Core_Type_Dictionary|SetaPDF_Core_Type_Stream SetaPDF_Core_ColorSpace_DeviceN::getTintTransform ( void )

Get the tint transformation function.

setAlternateSpace()

public void SetaPDF_Core_ColorSpace_DeviceN::setAlternateSpace ( SetaPDF_Core_ColorSpace $colorSpace )

Set the alternate color space.

Parameters
$colorSpace : SetaPDF_Core_ColorSpace
 

setNames()

public void SetaPDF_Core_ColorSpace_DeviceN::setNames ( SetaPDF_Core_Type_Name|array $names )

Set the names specifying the individual color components.

Parameters
$names : SetaPDF_Core_Type_Name|array
 

setTintTransform()

public void SetaPDF_Core_ColorSpace_DeviceN::setTintTransform ( SetaPDF_Core_Type_AbstractType $tintTransform )

Set the tint transformation function.

Parameters
$tintTransform : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException