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
$b
public
bool|null
$b
= null
$d
public
PdfNumber|null
$d
= null
$di
public
PdfNumber|null
$di
= null
$dm
public
PdfName|null
$dm
= null
$m
public
PdfName|null
$m
= null
$s
public
PdfName|null
$s
= null
$ss
public
PdfNumber|null
$ss
= null
Methods
toPdf()
public
toPdf() : string