TextElement
in package
implements
ITextElement
Table of Contents
Interfaces
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
$text
Text.
private
string
$text
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|nullgetHashCode()
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