Difference between revisions of "TextField"
|  (Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2011.6<br/> === Description === <br /> The `TextField` class is used to create display objects for te...") | |||
| Line 1: | Line 1: | ||
| __NOTOC__ | __NOTOC__ | ||
| − | '''Supported platforms:''' <br/> | + | '''Supported platforms:''' android, ios, mac, pc<br/> | 
| '''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
| === Description === | === Description === | ||
| Line 6: | Line 6: | ||
| The `TextField` class is used to create display objects for text display.<br /> | The `TextField` class is used to create display objects for text display.<br /> | ||
| <br /> | <br /> | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| {|- | {|- | ||
| | style="width: 50%;"| | | style="width: 50%;"| | ||
| === Methods === | === Methods === | ||
| + | [[TextField.new]] - creates a new TextField object with the specified font and text<br/> | ||
| + | [[TextField:getLayout]] - Retrieve the layout parameters of this Textfield<br/> | ||
| + | [[TextField:getLetterSpacing]] - returns the letter-spacing property which is used to increase or decrease the space between characters in a text<br/> | ||
| + | [[TextField:getLineHeight]] - Get line height<br/> | ||
| + | [[TextField:getSample]] - get string that was used as sample for determining line height<br/> | ||
| + | [[TextField:getText]] - returns the text displayed<br/> | ||
| + | [[TextField:getTextColor]] - returns the color of the text in a text field in hexadecimal format<br/> | ||
| + | [[TextField:setFont]] - set font to use<br/> | ||
| + | [[TextField:setLayout]] - Change the layout parameters for this TextField<br/> | ||
| + | [[TextField:setLetterSpacing]] - sets the letter-spacing property which is used to increase or decrease the space between characters in a text<br/> | ||
| + | [[TextField:setSample]] - Set string that will be used as sample for determining text's line height<br/> | ||
| + | [[TextField:setText]] - sets the text to be displayed<br/> | ||
| + | [[TextField:setTextColor]] - sets the color of the text in a text field in hexadecimal format<br/> | ||
| | style="width: 50%;"| | | style="width: 50%;"| | ||
| === Events === | === Events === | ||
| === Constants === | === Constants === | ||
| |} | |} | ||
Revision as of 08:57, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
The `TextField` class is used to create display objects for text display.
  
  
  
  
  
  
  
  
  
| MethodsTextField.new - creates a new TextField object with the specified font and text | EventsConstants | 
