phpdftk API Documentation

TransitionDict
in package
implements Serializable

PDF Page Transition dictionary (/Type /Trans).

Defines the visual transition effect when advancing to a page. Assigned to Page::$transition; also used as the document-level /Trans entry via PdfWriter::setTransition().

Style (/S) values: Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade

Example: $t = new TransitionDict(); $t->s = new PdfName('Dissolve'); $t->d = new PdfNumber(1.5); $page->transition = $t;

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_1

Table of Contents

Interfaces

Serializable
Contract for anything that can emit raw PDF syntax via `toPdf()`.

Properties

$b  : bool|null
$d  : PdfNumber|null
$di  : PdfNumber|null
$dm  : PdfName|null
$m  : PdfName|null
$s  : PdfName|null
$ss  : PdfNumber|null

Methods

toPdf()  : string

Properties

Methods


        
On this page

Search results