Documentation

Run extends TextElement implements ITextElement

Interfaces, Classes and Traits

ITextElement

Table of Contents

$font  : Font|null
Font.
$text  : string
Text.
__construct()  : mixed
Create a new Run instance.
getFont()  : null|Font
Get font.
getHashCode()  : string
Get hash code.
getText()  : string
Get text.
setFont()  : $this
Set font.
setText()  : $this
Set text.

Properties

Methods

__construct()

Create a new Run instance.

public __construct([string $text = '' ]) : mixed
Parameters
$text : string = ''

Text

Return values
mixed

getFont()

Get font.

public getFont() : null|Font
Return values
null|Font

getHashCode()

Get hash code.

public getHashCode() : string
Return values
string

Hash code

getText()

Get text.

public getText() : string
Return values
string

Text

setFont()

Set font.

public setFont([Font $font = null ]) : $this
Parameters
$font : Font = null

Font

Return values
$this

setText()

Set text.

public setText(string $text) : $this
Parameters
$text : string

Text

Return values
$this

Search results