SetaPDF_Core_TransparencyGroup Class representing a transparency group

File: /SetaPDF v2/Core/TransparencyGroup.php

Class hierarchy

Summary

Properties


Static Methods

createDictionary()

Creates a "Transparency Group XObjects" Group dictionary.


Methods

__construct()

Creates the Group dictionary for an Transparency Group XObject.

Parameters
$dictionary : SetaPDF_Core_Type_Dictionary
 
Exceptions

Throws InvalidArgumentException

getColorSpace()

Return the color space.

Parameters
$pdfValue : bool
 

getDictionary()

isIsolated()

public SetaPDF_Core_TransparencyGroup::isIsolated (
void
): boolean

Checks whether the transparency group is isolated.

isKnockoutGroup()

Checks whether the transparency group is a knockout group.

setColorSpace()

Set the colorspace for this group.

Actually only standard color spaces are allowed.

Parameters
$colorSpace : string|SetaPDF_Core_Type_Name
 

setIsolated()

public SetaPDF_Core_TransparencyGroup::setIsolated (
boolean $isolated
): void

Set whether the transparency group is isolated.

Parameters
$isolated : boolean
 

setKnockoutGroup()

public SetaPDF_Core_TransparencyGroup::setKnockoutGroup (
boolean $knockoutGroup
): void

Set whether the transparency group is a knockout group.

Parameters
$knockoutGroup : boolean