SetaPDF_Core_ColorSpace_DeviceGray DeviceGray Color Space

File: /SetaPDF/Core/ColorSpace/DeviceGray.php

Class hierarchy

Summary

Properties

$_indirectObject


Static Methods

create()

static public SetaPDF_Core_ColorSpace_DeviceGray SetaPDF_Core_ColorSpace_DeviceGray::create ( void )

Creates an instance of this color space.


Methods

__construct()

public SetaPDF_Core_ColorSpace_DeviceGray::__construct ( SetaPDF_Core_Type_AbstractType $name )

The constructor.

Parameters
$name : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

getColorComponents()

public integer SetaPDF_Core_ColorSpace_DeviceGray::getColorComponents ( void )

Get the color components of this color space.

getDefaultDecodeArray()

public array SetaPDF_Core_ColorSpace_DeviceGray::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

getPdfValue()

public SetaPDF_Core_Type_Name|SetaPDF_Core_Type_Array SetaPDF_Core_ColorSpace::getPdfValue ( void )

Get the main color space PDF value.