Methods

setWidth()

setWidth(mixed  $width) : \Pop\Pdf\Document\Page

Set the page width

Parameters

mixed $width

Returns

\Pop\Pdf\Document\Page

setHeight()

setHeight(mixed  $height) : \Pop\Pdf\Document\Page

Set the page height

Parameters

mixed $height

Returns

\Pop\Pdf\Document\Page

setIndex()

setIndex(integer  $i) : \Pop\Pdf\Document\Page

Set the page index

Parameters

integer $i

Returns

\Pop\Pdf\Document\Page

getWidth()

getWidth() : integer

Get the page width

Returns

integer

getHeight()

getHeight() : integer

Get the page height

Returns

integer

getIndex()

getIndex() : integer

Get the page index

Returns

integer

addText()

addText(\Pop\Pdf\Document\Page\Text  $text, string  $font, integer  $x, integer  $y) : \Pop\Pdf\Document\Page

Add text to the PDF page

Parameters

\Pop\Pdf\Document\Page\Text $text
string $font
integer $x
integer $y

Returns

\Pop\Pdf\Document\Page

getImages()

getImages() : array

Get image objects

Returns

array

getText()

getText() : array

Get text objects

Returns

array

getAnnotations()

getAnnotations() : array

Get annotation objects

Returns

array

getPaths()

getPaths() : array

Get path objects

Returns

array

hasImages()

hasImages() : boolean

Determine if the page has image objects

Returns

boolean

hasText()

hasText() : boolean

Determine if the page has text objects

Returns

boolean

hasAnnotations()

hasAnnotations() : boolean

Determine if the page has annotation objects

Returns

boolean

hasPaths()

hasPaths() : boolean

Determine if the page has path objects

Returns

boolean