SetaPDF_Core_ColorSpace_DeviceN DeviceN Color Space
File: /SetaPDF v2/Core/ColorSpace/DeviceN.php
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
Static Methods
createByDefinition()
Creates a color space instance based on the incoming value.
Parameters
- $object : string|SetaPDF_Core_Type_Name|SetaPDF_Core_Type_Array|SetaPDF_Core_Type_IndirectObjectInterface
A color space definition
Exceptions
Throws InvalidArgumentException
Throws SetaPDF_Core_Type_Exception
Throws SetaPDF_Core_Exception
Methods
__construct()
getAlternateColorSpace()
Get the alternate color space.
Exceptions
Throws SetaPDF_Core_Exception
Throws SetaPDF_Core_Type_Exception
getAlternateSpace()
WARNING: This method is marked as deprecated!
Alias for getAlternateColorSpace()
Exceptions
Throws SetaPDF_Core_Exception
Throws SetaPDF_Core_Type_Exception
getColorComponents()
getDefaultDecodeArray()
getFamily()
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.
Exceptions
Throws SetaPDF_Core_Type_Exception
getPdfValue()
Get the main color space PDF value.
getTintTransform()
Get the tint transformation function.
Exceptions
Throws SetaPDF_Core_Type_IndirectReference_Exception
Throws SetaPDF_Core_Type_Exception
setAlternateColorSpace()
Set the alternate color space.
Parameters
- $colorSpace : SetaPDF_Core_ColorSpace
setNames()
Set the names specifying the individual color components.
Parameters
- $names : array
Exceptions
Throws SetaPDF_Core_Type_Exception
setTintTransform()
Set the tint transformation function.
Parameters
- $tintTransform : SetaPDF_Core_Type_AbstractType
Exceptions
Throws InvalidArgumentException
Throws SetaPDF_Core_Type_Exception