Documentation

AbstractAlignment
in package
implements AlignmentInterface

AbstractYes

Pdf page text abstract alignment class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
5.2.0

Table of Contents

Interfaces

AlignmentInterface
Pdf page text alignment interface

Constants

LEFT  = 'LEFT'
Alignment constants
RIGHT  = 'RIGHT'

Properties

$alignment  : string
Text alignment
$leading  : int
Text leading
$leftX  : int
Left X boundary
$rightX  : int
Right X boundary

Methods

__construct()  : mixed
Constructor
getAlignment()  : string
Get alignment
getLeading()  : int
Get the leading
getLeftX()  : int
Get the left X
getRightX()  : int
Get the right X
hasLeading()  : bool
Has leading
hasLeftX()  : bool
Has left X
hasRightX()  : bool
Has right X
isLeft()  : bool
Is LEFT alignment
isRight()  : bool
Is RIGHT alignment
setAlignment()  : AbstractAlignment
Set alignment
setLeading()  : AbstractAlignment
Set the leading
setLeftX()  : AbstractAlignment
Set the left X boundary
setRightX()  : AbstractAlignment
Set the right X boundary

Constants

Properties

Methods

__construct()

Constructor

public __construct([string $alignment = self::LEFT ][, int $leftX = 0 ][, int $rightX = 0 ][, int $leading = 0 ]) : mixed

Instantiate a PDF text alignment object.

Parameters
$alignment : string = self::LEFT
$leftX : int = 0
$rightX : int = 0
$leading : int = 0

getAlignment()

Get alignment

public getAlignment() : string
Return values
string

        
On this page

Search results