SetaPDF_Core_ColorSpace_DeviceCmyk DeviceCMYK Color Space
File: /SetaPDF v2/Core/ColorSpace/DeviceCmyk.php
Class hierarchy
Summary
Properties
Static Methods
create()
public static SetaPDF_Core_ColorSpace_DeviceCmyk::create (
void
): SetaPDF_Core_ColorSpace_DeviceCmykCreates an instance of this color space.
Exceptions
Throws SetaPDF_Core_Exception
createByDefinition()
public static SetaPDF_Core_ColorSpace::createByDefinition (
string|SetaPDF_Core_Type_Name|SetaPDF_Core_Type_Array|SetaPDF_Core_Type_IndirectObjectInterface $object
): SetaPDF_Core_ColorSpace|SetaPDF_Core_ColorSpace_DeviceCmyk|SetaPDF_Core_ColorSpace_DeviceGray|SetaPDF_Core_ColorSpace_DeviceRgb|SetaPDF_Core_ColorSpace_IccBased|SetaPDF_Core_ColorSpace_SeparationCreates 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()
The constructor.
Parameters
- $name : SetaPDF_Core_Type_AbstractType
Exceptions
Throws InvalidArgumentException
Throws SetaPDF_Core_Exception
getColorComponents()
getDefaultDecodeArray()
getFamily()
getPdfValue()
public SetaPDF_Core_ColorSpace::getPdfValue (
void
): SetaPDF_Core_Type_Name|SetaPDF_Core_Type_ArrayGet the main color space PDF value.