Core API Reference: Shape Text

From Color Infection Wiki
Jump to: navigation, search


Get Text

Retrieve the text of a text entity.

Input Parameters:

The Text Entity
the text entity

Output Parameters:

The Text String
the text string of the text entity
Set Text

Set the text of a text entity.

Input Parameters:

The Text Entity
the text entity
New Text String
the new text string of the text entity

Output Parameters:

(none)
Append Text

Append text to the end of of original text of a text entity.

Input Parameters:

The Text Entity
the text entity
Text to Append
the text string to append

Output Parameters:

(none)
Append New Line

Append a line break to the end of of original text of a text entity.

Input Parameters:

The Text Entity
the text entity

Output Parameters:

(none)
Set Font Size

Set the font size.

Input Parameters:

The Text Entity
the text entity
New Font Size
the new font size to set

Output Parameters:

(none)
Set Text Color

Set the text color

Input Parameters:

The Text Entity
the text entity
New Color
the new color to set

Output Parameters:

(none)
Set Text Color By RGB

Set the text color

Input Parameters:

The Text Entity
the text entity
Red
the red component of the new color
Green
the green component of the new color
Blue
the blue component of the new color

Output Parameters:

(none)