Txt style
Jump to navigation
Jump to search
Contents
Description
txt_style(txt_id,style)
txt_style is used to change the style of a text box.
Return value
This function won't return any value.
Arguments
# | Argument | Type | Description |
---|---|---|---|
1 | txt_id | Number | Text identifier. This number can be obtained by calling txt_add. |
2 | style | String | The new style to apply. See txt_add for styling options. |
Example
-- Load and display text and images
mytext1 = txt_add("1013", "size: 40;", 420, 252, 60, 40)
-- Make it even bigger!
txt_style(mytext1 , "size: 60;")