TextElement implements ITextElement
Interfaces, Classes and Traits
Table of Contents
- $text : string
- Text.
- __construct() : mixed
- Create a new TextElement instance.
- getFont() : null|Font
- 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
$text
Text.
private
string
$text
Methods
__construct()
Create a new TextElement instance.
public
__construct([string $text = '' ]) : mixed
Parameters
- $text : string = ''
-
Text
Return values
mixed —getFont()
Get font. For this class, the return value is always null.
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
setText()
Set text.
public
setText(string $text) : $this
Parameters
- $text : string
-
Text