It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Box


Extended by Com\Tecnick\Pdf\Page\Mode
Extended by Com\Tecnick\Pdf\Page\Box

Direct known subclasses

Namespace: Com\Tecnick\Pdf\Page
Package: PdfPage
Category: Library
Copyright: 2011-2015 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni
Since: 2011-05-23
Located at Box.php
Methods summary
public array
# swapCoordinates( array $dims )

Swap X and Y coordinates of page boxes (change page boxes orientation).

public array
# setBox( array $dims, string $type, float $llx, float $lly, float $urx, float $ury, array $bci = array() )

Set page boundaries.

public array
# setPageBoxes( float $width, float $height )

Initialize page boxes

protected string
# getBox( array $dims )

Returns the PDF command to output the specified page boxes.

protected string
# getBoxColorInfo( array $dims )

Returns the PDF command to output the specified page BoxColorInfo

Methods inherited from Com\Tecnick\Pdf\Page\Mode
getDisplay(), getLayout()
Methods inherited from Com\Tecnick\Pdf\Page\Format
convertPoints(), getPageFormatSize(), getPageOrientation(), getPageOrientedSize(), getUnitRatio()
Properties summary
public static array $box

Array of page box names

# array( 'MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox' )
Properties inherited from Com\Tecnick\Pdf\Page\Mode
$display, $layout
Properties inherited from Com\Tecnick\Pdf\Page\Format
$format, $unitratio

© 2004-2020 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy