SetaPDF_Core_ColorSpace Default implementation of a color space
File: /SetaPDF v2/Core/ColorSpace.php
Class hierarchy
Summary
Properties
Static Methods
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()
getColorComponents()
getDefaultDecodeArray()
getFamily()
getPdfValue()
public SetaPDF_Core_ColorSpace::getPdfValue (
void
): SetaPDF_Core_Type_Name|SetaPDF_Core_Type_ArrayGet the main color space PDF value.