TEXTEX

Syntax

int_val = TEXTEX( x, y, str, 1.0, 0, 0, 0, 0, 0, 0,  -1 );
Input arguments
float x The x-coordinate of the text.
float y The y-coordinate of the text.
string str The text content.
float 1.0 Width factor. Default is 1.0.
int 0/1 Bold. Default is 0 (off).
int 0/1 Italic. Default is 0.
int 0/1 Underline. Default is 0.
int 0/1 Overline. Default is 0.
int 0/1 Strikethrough. Default is 0.
int 0/1 Show borders. Default is 0.
int -1 Fill color index, 0–257. Default is  -1 (no fill).

Return Values

Success:
int 0 Success.
Failure:
int -1 Script interface error.

Description

This function prints a text string with the text origin at x, y, and applies given formatting to the text.