class-Com.Tecnick.Pdf.Page.Box

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

Com\Tecnick\Pdf\Page\Box

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

Direct known subclasses

Com\Tecnick\Pdf\Page\Settings
Abstract
Namespace: Com\Tecnick\Pdf\Page
Package: PdfPage
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: https://github.com/tecnickcom/tc-lib-pdf-page
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-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy