Documentation

TextElement
in package
implements ITextElement

Table of Contents

Interfaces

ITextElement

Properties

$text  : string
Text.

Methods

__construct()  : mixed
Create a new TextElement instance.
getFont()  : Font|null
Get font. For this class, the return value is always null.
getHashCode()  : string
Get hash code.
getText()  : string
Get text.
setText()  : $this
Set text.

Properties

Methods

__construct()

Create a new TextElement instance.

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

Text

getFont()

Get font. For this class, the return value is always null.

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

getHashCode()

Get hash code.

public getHashCode() : string
Return values
string

Hash code

getText()

Get text.

public getText() : string
Return values
string

Text

setText()

Set text.

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

Text

Return values
$this

        
On this page

Search results