class TextElement implements ITextElement (View source)

Methods

__construct(string $pText = '')

Create a new TextElement instance.

string
getText()

Get text.

setText($text)

Set text.

null|Font
getFont()

Get font.

string
getHashCode()

Get hash code.

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.

Details

__construct(string $pText = '')

Create a new TextElement instance.

Parameters

string $pText Text

string getText()

Get text.

Return Value

string Text

ITextElement setText($text)

Set text.

Parameters

$text string Text

Return Value

ITextElement

null|Font getFont()

Get font.

Return Value

null|Font

string getHashCode()

Get hash code.

Return Value

string Hash code

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.