class final Core · roukmoute/pdf 0.7.1

PDF\Graphics\OptionalContent\GroupStates
Mutable states scoped to one explicit group collection; no process-wide registry.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Graphics\OptionalContent\GroupCollection $groups, PDF\Graphics\OptionalContent\Configuration $default = new Configuration())

Declared by PDF\Graphics\OptionalContent\GroupStates · View the code ↗

Declared methods

apply()

public function apply(PDF\Graphics\OptionalContent\Configuration $configuration): void

Declared by PDF\Graphics\OptionalContent\GroupStates · View the code ↗

decision()

public function decision(PDF\Graphics\OptionalContent\OptionalContentGroup $group): ?bool

Declared by PDF\Graphics\OptionalContent\GroupStates · View the code ↗

set()

public function set(PDF\Graphics\OptionalContent\OptionalContentGroup $group, bool $on): void
Programmatic changes are allowed even for groups locked in the user interface.

Declared by PDF\Graphics\OptionalContent\GroupStates · View the code ↗

setFromUser()

public function setFromUser(PDF\Graphics\OptionalContent\OptionalContentGroup $group, bool $on): void

Declared by PDF\Graphics\OptionalContent\GroupStates · View the code ↗

state()

public function state(PDF\Graphics\OptionalContent\OptionalContentGroup $group): bool

Declared by PDF\Graphics\OptionalContent\GroupStates · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDF\Graphics\OptionalContent\GroupCollection $groupsPDF\Graphics\OptionalContent\GroupStates