setasign\SetaPDF2\Core

TransparencyGroup Class representing a transparency group

File: /SetaPDF v2/Core/TransparencyGroup.php
Old class name (alias): \SetaPDF_Core_TransparencyGroup

Class hierarchy

Summary

Properties

$_dictionary


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()

Get the dictionary.

isIsolated()

public TransparencyGroup::isIsolated (
void
): bool

Checks whether the transparency group is isolated.

isKnockoutGroup()

public TransparencyGroup::isKnockoutGroup (
void
): bool

Checks whether the transparency group is a knockout group.

setColorSpace()

public TransparencyGroup::setColorSpace (
string|\SetaPDF_Core_Type_Name $colorSpace
): void

Set the colorspace for this group.

Actually only standard color spaces are allowed.

Parameters
$colorSpace : string|\SetaPDF_Core_Type_Name
 

setIsolated()

public TransparencyGroup::setIsolated (
bool $isolated
): void

Set whether the transparency group is isolated.

Parameters
$isolated : bool
 

setKnockoutGroup()

public TransparencyGroup::setKnockoutGroup (
bool $knockoutGroup
): void

Set whether the transparency group is a knockout group.

Parameters
$knockoutGroup : bool