TextDestroyTextItem: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This | This function destroys a [[textitem]] object. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
void textDestroyTextItem ( textitem | void textDestroyTextItem ( textitem theTextitem ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''theTextitem:''' The text item you wish to destroy. | ||
==Example== | ==Example== | ||
This example | This example creates then destroys a [[textitem]]. | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
-- | -- Create a new text item | ||
text = textCreateTextItem ( "Hello, world!" ) | |||
-- | -- Destroy it | ||
textDestroyTextItem ( text ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{ | {{Text_functions}} |
Revision as of 14:00, 25 May 2006
This function destroys a textitem object.
Syntax
void textDestroyTextItem ( textitem theTextitem )
Required Arguments
- theTextitem: The text item you wish to destroy.
Example
This example creates then destroys a textitem.
-- Create a new text item text = textCreateTextItem ( "Hello, world!" ) -- Destroy it textDestroyTextItem ( text )
See Also
- textCreateDisplay
- textCreateTextItem
- textDestroyDisplay
- textDestroyTextItem
- textDisplayAddObserver
- textDisplayAddText
- textDisplayGetObservers
- textDisplayIsObserver
- textDisplayRemoveObserver
- textDisplayRemoveText
- textItemGetColor
- textItemGetPosition
- textItemGetPriority
- textItemGetScale
- textItemGetText
- textItemSetColor
- textItemSetPosition
- textItemSetPriority
- textItemSetScale
- textItemSetText