PDF-Signer

Page
in package

FinalYes

A page of a document, with the attributes it inherits from the page tree already applied.

Table of Contents

Properties

$cropBox  : array<string|int, mixed>|null
$dictionary  : Dictionary
$mediaBox  : array<string|int, mixed>
$reference  : Reference|null
$resources  : mixed
$rotation  : int

Methods

__construct()  : mixed
viewBox()  : array{float, float, float, float}
The area that is displayed: the crop box where it overlaps the media box, as PDF viewers show it.

Properties

$cropBox read-only

public array<string|int, mixed>|null $cropBox

$mediaBox read-only

public array<string|int, mixed> $mediaBox

$resources read-only

public mixed $resources

$rotation read-only

public int $rotation

Methods

__construct()

public __construct(Reference|null $reference, Dictionary $dictionary, mixed $resources, array{float, float, float, float} $mediaBox, array{float, float, float, float}|null $cropBox, int $rotation) : mixed
Parameters
$reference : Reference|null

The page object, or null for a page the file stores directly in its parent, which cannot be revised.

$dictionary : Dictionary

The page dictionary.

$resources : mixed

Its resources, which may be inherited, still unresolved.

$mediaBox : array{float, float, float, float}

The media box, normalised to lower-left and upper-right.

$cropBox : array{float, float, float, float}|null

The crop box, normalised, if one is set.

$rotation : int

Clockwise rotation when displayed: 0, 90, 180 or 270.

viewBox()

The area that is displayed: the crop box where it overlaps the media box, as PDF viewers show it.

public viewBox() : array{float, float, float, float}
Return values
array{float, float, float, float} —

Lower-left x and y, upper-right x and y.

On this page

Search results