Documentation

AbstractAlignment
in package
implements AlignmentInterface

Pdf page text abstract alignment class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
4.2.0

Interfaces, Classes and Traits

AlignmentInterface
Pdf page text alignment interface

Table of Contents

LEFT  = 'LEFT'
Alignment constants
RIGHT  = 'RIGHT'
$alignment  : string
Text alignment
$leading  : int
Text leading
$leftX  : int
Left X boundary
$rightX  : int
Right X boundary
__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, int $rightX, int $leading) : mixed

Instantiate a PDF text alignment object.

Parameters
$alignment : string = self::LEFT
$leftX : int
$rightX : int
$leading : int
Return values
mixed

getAlignment()

Get alignment

public getAlignment() : string
Return values
string

getLeading()

Get the leading

public getLeading() : int
Return values
int

isRight()

Is RIGHT alignment

public isRight() : bool
Return values
bool

Search results