Scaleform Studio Lua API Reference: scaleform.TextComponent object reference
         
	
    
    
Represent the text field.
			This element inherits from: 
				|   | 
Checks whether the text component keeps showing selection when not focused or not.
 | 
 
							
							Parameters Returns | boolean | Returns true if the selection is shown even when not focused and false otherwise. | 
							  
				|   | 
Returns the currently set anti-aliasing mode of the text component.
 | 
 
				|   | 
Checks if the text is auto-sized and returns the value set.
 | 
 
							
							Parameters Returns | boolean | Returns true if the text is auto-sized by x axis and false otherwise. | 
							  
				|   | 
Checks if the text is auto-sized and returns the value set.
 | 
 
							
							Parameters Returns | boolean | Returns true if the text is auto-sized by y axis and false otherwise. | 
							  
				|   | 
Returns the background color of the text component. 
 | 
 
							
							Parameters Returns 
 If alpha is 0, then background is turned off.
							  
				|   | 
Determines if bidirectional text support is enabled on the component.
 | 
 
							
							Parameters Returns | boolean | Returns true if bidirectional text is supported and false otherwise. | 
							  
				|   | 
Returns the currently set border color.
 | 
 
				|   | 
Returns the index of bottommost line.
 | 
 
							
							Parameters Returns | integer | Returns the index of bottommost line. | 
							  
				|   | create ( owner  ) : scaleform.TextComponent  
Creates a new text component.
 | 
 
				|   | 
Returns the default format applied within the text.
 | 
 
				|   | 
Determines if the text is editable on the component.
 | 
 
							
							Parameters Returns | boolean | Returns true if the text is editable and false otherwise. | 
							  
				|   | 
Returns the text value in HTML format.
 | 
 
							
							Parameters Returns | string | Currently set text value in HTML format. | 
							  
				|   | 
Returns an image descriptor for a sub-string in the text or nil if not found.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose text is substituted with image. | 
| substring : | string | A sub-string in the text to check for image substitution. | 
Returns | table? | The image descriptor table containing the image used as substitution for text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
							  
				|   | 
Returns the length of the text.
 | 
 
							
							Parameters Returns | integer | The length of the text. | 
							  
				|   | 
Returns the maximum length of the text that can be entered.
 | 
 
							
							Parameters Returns | integer | The maximum length of the text that can be entered. | 
							  
				|   | 
Returns the maximum value for vertical scrolling.
 | 
 
							
							Parameters Returns | integer | The scroll value for vertical scrolling. | 
							  
				|   | 
Returns the maximum value for horizontal scrolling.
 | 
 
							
							Parameters Returns | number | The scroll value for horizontal scrolling. | 
							  
				|   | 
Determines whether the text is multi-line or single-line.
 | 
 
							
							Parameters Returns | boolean | Whether the text is multiline(true) or not. | 
							  
				|   | 
Returns the number of lines in the text component.
 | 
 
							
							Parameters Returns | integer | Returns number of lines. | 
							  
				|   | 
Determines if text overwritable mode is enabled on the component.
 | 
 
							
							Parameters Returns | boolean | Returns true if the text is overwritable and false otherwise. | 
							  
				|   | 
Returns the paragraph format used within the text component.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| startPos : | integer? | The start position of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| endPos : | integer? | The end position of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns 
							  
				|   | 
Determines if password mode is set for the text.
 | 
 
							
							Parameters Returns | boolean | Whether password mode is set for text or not. | 
							  
				|   | rect ( self  ) : scaleform.Rect  
Returns the position and dimensions of the text component.
 | 
 
				|   | 
Returns the value for vertical scrolling.
 | 
 
							
							Parameters Returns | integer | The scroll value for vertical scrolling. | 
							  
				|   | 
Returns the value for horizontal scrolling.
 | 
 
							
							Parameters Returns | number | The scroll value for horizontal scrolling. | 
							  
				|   | 
Determines if the text is selectable on the component.
 | 
 
							
							Parameters Returns | boolean | Returns true if the text is selectable and false otherwise. | 
							  
				|   | 
Controls whether the text component keeps showing selection when not focused or not.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| v : | boolean | A flag to turn selection on/off. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the anti-alias mode of the text component.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Sets auto size of the text component by X axis.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose size is set. | 
| autoSize : | boolean | A flag to set automatic resizing by X axis. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets autosize of the text component by Y axis.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose size is set. | 
| autoSize : | boolean | A flag to set automatic resizing by Y axis. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the background color of the text component.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Enables bidirectional text support on the component.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| en : | boolean | A flag to determine whether to enable bidirectional text support. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the border color  around the text. 
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
 If alpha is set to 0, then border is not drawn.
							  
				|   | 
Sets the default format within the text.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the dimensions of the text component.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the flag to turn on/off text editing.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| v : | boolean | A flag to turn on/off the text editing. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets filters on the text.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose filter is set. | 
| filters : | table? | A table containing the filters to set to the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the text value to parsed HTML text value.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| text : | string | A value assigned as HTML encoded string value. | 
| length : | integer? | Length of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets an image as a substitute for a string in the text.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose text is substituted with image. | 
| imagesubstitute_desc : | table? | A table with the image description. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| substring : | string? | A sub-string in the text to be replaced by an image from the imagesubstitute_desc descriptor. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns | boolean | Returns true if the substitution is set and false otherwise. | 
							  
				|   | 
Sets the flag to turn on/off text overwriting mode.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| maxLen : | integer | The maximum length of the string which will be displayed. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets multi-line or single-line on the text.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose multi-line property is set. | 
| value : | boolean | The value to use to set the multi-line property. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the flag to turn on/off text overwriting mode.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| overwrite : | boolean | A flag to turn on/off the overwriting mode. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the paragraph format within the text.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| fmt : | scaleform.ParagraphFormat | The format to apply to the text. | 
| startPos : | integer? | The start position of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| endPos : | integer? | The end position of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the password mode for the text.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| pswd : | boolean | A flag to set the text in password mode | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the position and dimensions of the text component.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the vertical scroll value.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose scroll value is set. | 
| v : | integer | The value set as vertical scroll value. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the horizonal scroll value.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose scroll value is set. | 
| x : | number | The value set as horizontal scroll value. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the flag to turn on/off text selectability.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Sets a text value to the text component.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| text : | string | A value assigned as text. | 
| length : | integer? | Length of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the format of the text.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| fmt : | scaleform.TextFormat | The format of the text. | 
| startPos : | integer? | The start position of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| endPos : | integer? | The end position of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets vertical alignment such as top, bottom or center.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the flag to turn on/off wordwrapping.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| wordwrap : | boolean | The flag to turn on/off wordwrapping feature. | 
Returns |  | This function does not return any values. | 
							  
				|   | text ( self  ) : string  
Returns the text value.
 | 
 
							
							Parameters Returns | string | Currently set text value. | 
							  
				|   | 
Returns dimensions of the text component.
 | 
 
				|   | text_format ( self , startPos , endPos  ) : scaleform.TextFormat  
Returns the format of the text.
 | 
 
							
							Parameters | self : | scaleform.TextComponent | The text component whose property is set. | 
| startPos : | integer? | The start position of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| endPos : | integer? | The end position of the text. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns 
							  
				|   | 
Returns dimensions of the text inside the component.
 | 
 
							
							Parameters Returns | number | The height of text inside the component. | 
							  
				|   | 
Returns dimensions of the text inside the component.
 | 
 
							
							Parameters Returns | number | The width of text inside the component. | 
							  
				|   | 
Returns vertical text alignment(top, bottom, center).
 | 
 
				|   | 
Determines whether the wordwrapping feature is turned on/off for the text component.
 | 
 
							
							Parameters Returns | boolean | Whether wordwrapping is turned on/off. | 
							   
 
     scaleform.Component
  scaleform.Component
The root type of all actor components.
 scaleform.VisualComponent
  scaleform.VisualComponent
An interface to the visual component. 
 scaleform.TextComponent.create (owner) : scaleform.TextComponent
  scaleform.TextComponent.create (owner) : scaleform.TextComponent
Creates a new text component.
 scaleform.TextComponent.always_show_selection (self) : boolean
  scaleform.TextComponent.always_show_selection (self) : boolean
Checks whether the text component keeps showing selection when not focused or not.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. boolean
  boolean scaleform.TextComponent
  scaleform.TextComponent
Represent the text field.
true or false. scaleform.TextComponent.antialiasing_mode (self) : scaleform.TextAAModes
  scaleform.TextComponent.antialiasing_mode (self) : scaleform.TextAAModes
Returns the currently set anti-aliasing mode of the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. scaleform.TextAAModes
  scaleform.TextAAModes
The anti-aliasing mode of the text component. scaleform.TextAAModes
  scaleform.TextAAModes
The different anti-aliasing modes can be set for a text component.
 scaleform.TextComponent.auto_size_x (self) : boolean
  scaleform.TextComponent.auto_size_x (self) : boolean
Checks if the text is auto-sized and returns the value set.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose size is automatically set. boolean
  boolean scaleform.TextComponent.auto_size_y (self) : boolean
  scaleform.TextComponent.auto_size_y (self) : boolean
Checks if the text is auto-sized and returns the value set.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose size is automatically set. boolean
  boolean scaleform.TextComponent.background_color (self) : scaleform.Color
  scaleform.TextComponent.background_color (self) : scaleform.Color
Returns the background color of the text component. 
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose background color is set. scaleform.Color
  scaleform.Color
Currently set background color of the text. scaleform.Color
  scaleform.Color
{ alpha : integer,  blue : integer,  green : integer,  red : integer,  } scaleform.TextComponent.bidirectional_text (self) : boolean
  scaleform.TextComponent.bidirectional_text (self) : boolean
Determines if bidirectional text support is enabled on the component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. boolean
  boolean scaleform.TextComponent.border_color (self) : scaleform.Color
  scaleform.TextComponent.border_color (self) : scaleform.Color
Returns the currently set border color.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose color is set. scaleform.Color
  scaleform.Color
The border color set around the text. scaleform.TextComponent.bottom_scroll_line (self) : integer
  scaleform.TextComponent.bottom_scroll_line (self) : integer
Returns the index of bottommost line.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose scroll value is set. integerA strictly integral numeric value, with no decimal component.
  integerA strictly integral numeric value, with no decimal component. owner : scaleform.Actor
  owner : scaleform.Actor
The owner actor of the component. scaleform.TextComponent
  scaleform.TextComponent
The newly created text component. scaleform.Actor
  scaleform.Actor
Generic objects located in a scene.
 scaleform.TextComponent.default_formats (self) : scaleform.TextFormat, scaleform.ParagraphFormat
  scaleform.TextComponent.default_formats (self) : scaleform.TextFormat, scaleform.ParagraphFormat
Returns the default format applied within the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. scaleform.TextFormat
  scaleform.TextFormat
The text format applied. scaleform.ParagraphFormat
  scaleform.ParagraphFormat
The paragraph format applied. scaleform.TextFormat
  scaleform.TextFormat
Used for formatting of text.
 scaleform.ParagraphFormat
  scaleform.ParagraphFormat
Used for formatting of paragraphs.
 scaleform.TextComponent.editable (self) : boolean
  scaleform.TextComponent.editable (self) : boolean
Determines if the text is editable on the component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. boolean
  boolean scaleform.TextComponent.html_text (self) : string
  scaleform.TextComponent.html_text (self) : string
Returns the text value in HTML format.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. stringA string of characters.
  stringA string of characters. scaleform.TextComponent.image_substitution (self, substring) : table?
  scaleform.TextComponent.image_substitution (self, substring) : table?
Returns an image descriptor for a sub-string in the text or nil if not found.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose text is substituted with image. substring : string
  substring : string
A sub-string in the text to check for image substitution. table?
  table?
The image descriptor table containing the image used as substitution for text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
A Lua table consisting of paired keys and values. scaleform.TextComponent.length (self) : integer
  scaleform.TextComponent.length (self) : integer
Returns the length of the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. integer
  integer scaleform.TextComponent.max_length (self) : integer
  scaleform.TextComponent.max_length (self) : integer
Returns the maximum length of the text that can be entered.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. integer
  integer scaleform.TextComponent.max_scroll_line (self) : integer
  scaleform.TextComponent.max_scroll_line (self) : integer
Returns the maximum value for vertical scrolling.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose scroll value is obtained. integer
  integer scaleform.TextComponent.max_scroll_x (self) : number
  scaleform.TextComponent.max_scroll_x (self) : number
Returns the maximum value for horizontal scrolling.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose scroll value is obtained. numberA numeric value.
  numberA numeric value. scaleform.TextComponent.multiline (self) : boolean
  scaleform.TextComponent.multiline (self) : boolean
Determines whether the text is multi-line or single-line.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. boolean
  boolean scaleform.TextComponent.num_lines (self) : integer
  scaleform.TextComponent.num_lines (self) : integer
Returns the number of lines in the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component currently in use. integer
  integer scaleform.TextComponent.overwritable (self) : boolean
  scaleform.TextComponent.overwritable (self) : boolean
Determines if text overwritable mode is enabled on the component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. boolean
  boolean scaleform.TextComponent.paragraph_format (self, startPos, endPos) : scaleform.ParagraphFormat
  scaleform.TextComponent.paragraph_format (self, startPos, endPos) : scaleform.ParagraphFormat
Returns the paragraph format used within the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. startPos : integer?
  startPos : integer?
The start position of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 endPos : integer?
  endPos : integer?
The end position of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 scaleform.ParagraphFormat
  scaleform.ParagraphFormat
The paragraph format set within the text component. scaleform.TextComponent.password_mode (self) : boolean
  scaleform.TextComponent.password_mode (self) : boolean
Determines if password mode is set for the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. boolean
  boolean scaleform.TextComponent.rect (self) : scaleform.Rect
  scaleform.TextComponent.rect (self) : scaleform.Rect
Returns the position and dimensions of the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose dimensions is set. scaleform.Rect
  scaleform.Rect
The rectangle within the text component. scaleform.Rect
  scaleform.Rect
A rectangle based upon two points.
{ x1 : number,  x2 : number,  y1 : number,  y2 : number,  } scaleform.TextComponent.scroll_line (self) : integer
  scaleform.TextComponent.scroll_line (self) : integer
Returns the value for vertical scrolling.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose scroll value is obtained. integer
  integer scaleform.TextComponent.scroll_x (self) : number
  scaleform.TextComponent.scroll_x (self) : number
Returns the value for horizontal scrolling.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose scroll value is obtained. number
  number scaleform.TextComponent.selectable (self) : boolean
  scaleform.TextComponent.selectable (self) : boolean
Determines if the text is selectable on the component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. boolean
  boolean scaleform.TextComponent.set_always_show_selection (self, v)
  scaleform.TextComponent.set_always_show_selection (self, v) 
Controls whether the text component keeps showing selection when not focused or not.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. v : boolean
  v : boolean
A flag to turn selection on/off. scaleform.TextComponent.set_antialiasing_mode (self, mode)
  scaleform.TextComponent.set_antialiasing_mode (self, mode) 
Sets the anti-alias mode of the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. mode : scaleform.TextAAModes
  mode : scaleform.TextAAModes
The anti-aliasing mode. scaleform.TextComponent.set_auto_size_x (self, autoSize)
  scaleform.TextComponent.set_auto_size_x (self, autoSize) 
Sets auto size of the text component by X axis.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose size is set. autoSize : boolean
  autoSize : boolean
A flag to set automatic resizing by X axis. scaleform.TextComponent.set_auto_size_y (self, autoSize)
  scaleform.TextComponent.set_auto_size_y (self, autoSize) 
Sets autosize of the text component by Y axis.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose size is set. autoSize : boolean
  autoSize : boolean
A flag to set automatic resizing by Y axis. scaleform.TextComponent.set_background_color (self, color)
  scaleform.TextComponent.set_background_color (self, color) 
Sets the background color of the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose background color is set. color : scaleform.Color
  color : scaleform.Color
The color to use. scaleform.TextComponent.set_bidirectional_text (self, en)
  scaleform.TextComponent.set_bidirectional_text (self, en) 
Enables bidirectional text support on the component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. en : boolean
  en : boolean
A flag to determine whether to enable bidirectional text support. scaleform.TextComponent.set_border_color (self)
  scaleform.TextComponent.set_border_color (self) 
Sets the border color  around the text. 
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose color is set. scaleform.TextComponent.set_default_formats (self, txtFmt, pFmt)
  scaleform.TextComponent.set_default_formats (self, txtFmt, pFmt) 
Sets the default format within the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. txtFmt : scaleform.TextFormat
  txtFmt : scaleform.TextFormat
The text format to apply. pFmt : scaleform.ParagraphFormat
  pFmt : scaleform.ParagraphFormat
The paragraph format to apply. scaleform.TextComponent.set_dimensions (self, dim)
  scaleform.TextComponent.set_dimensions (self, dim) 
Sets the dimensions of the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose dimensions is set. dim : scaleform.Size
  dim : scaleform.Size
The size of the text component. scaleform.Size
  scaleform.Size
Width should be in the form of a table {width=a, height=b}
{ height : number,  width : number,  } scaleform.TextComponent.set_editable (self, v)
  scaleform.TextComponent.set_editable (self, v) 
Sets the flag to turn on/off text editing.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. v : boolean
  v : boolean
A flag to turn on/off the text editing. scaleform.TextComponent.set_filters (self, filters)
  scaleform.TextComponent.set_filters (self, filters) 
Sets filters on the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose filter is set. filters : table?
  filters : table?
A table containing the filters to set to the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 scaleform.TextComponent.set_html_text (self, text, length)
  scaleform.TextComponent.set_html_text (self, text, length) 
Sets the text value to parsed HTML text value.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. text : string
  text : string
A value assigned as HTML encoded string value. length : integer?
  length : integer?
Length of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 scaleform.TextComponent.set_image_substitution (self, imagesubstitute_desc, substring) : boolean
  scaleform.TextComponent.set_image_substitution (self, imagesubstitute_desc, substring) : boolean
Sets an image as a substitute for a string in the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose text is substituted with image. imagesubstitute_desc : table?
  imagesubstitute_desc : table?
A table with the image description.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 substring : string?
  substring : string?
A sub-string in the text to be replaced by an image from the imagesubstitute_desc descriptor.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 boolean
  boolean scaleform.TextComponent.set_max_length (self, maxLen)
  scaleform.TextComponent.set_max_length (self, maxLen) 
Sets the flag to turn on/off text overwriting mode.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. maxLen : integer
  maxLen : integer
The maximum length of the string which will be displayed. scaleform.TextComponent.set_multiline (self, value)
  scaleform.TextComponent.set_multiline (self, value) 
Sets multi-line or single-line on the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose multi-line property is set. value : boolean
  value : boolean
The value to use to set the multi-line property. scaleform.TextComponent.set_overwritable (self, overwrite)
  scaleform.TextComponent.set_overwritable (self, overwrite) 
Sets the flag to turn on/off text overwriting mode.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. overwrite : boolean
  overwrite : boolean
A flag to turn on/off the overwriting mode. scaleform.TextComponent.set_paragraph_format (self, fmt, startPos, endPos)
  scaleform.TextComponent.set_paragraph_format (self, fmt, startPos, endPos) 
Sets the paragraph format within the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. fmt : scaleform.ParagraphFormat
  fmt : scaleform.ParagraphFormat
The format to apply to the text. startPos : integer?
  startPos : integer?
The start position of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 endPos : integer?
  endPos : integer?
The end position of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 scaleform.TextComponent.set_password_mode (self, pswd)
  scaleform.TextComponent.set_password_mode (self, pswd) 
Sets the password mode for the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. pswd : boolean
  pswd : boolean
A flag to set the text in password mode scaleform.TextComponent.set_rect (self, rect)
  scaleform.TextComponent.set_rect (self, rect) 
Sets the position and dimensions of the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose dimensions is set. rect : scaleform.Rect
  rect : scaleform.Rect
The rectangle to use. scaleform.TextComponent.set_scroll_line (self, v)
  scaleform.TextComponent.set_scroll_line (self, v) 
Sets the vertical scroll value.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose scroll value is set. v : integer
  v : integer
The value set as vertical scroll value. scaleform.TextComponent.set_scroll_x (self, x)
  scaleform.TextComponent.set_scroll_x (self, x) 
Sets the horizonal scroll value.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose scroll value is set. x : number
  x : number
The value set as horizontal scroll value. scaleform.TextComponent.set_selectable (self, v)
  scaleform.TextComponent.set_selectable (self, v) 
Sets the flag to turn on/off text selectability.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. v : boolean
  v : boolean
A flag to select/deselect text. scaleform.TextComponent.set_text (self, text, length)
  scaleform.TextComponent.set_text (self, text, length) 
Sets a text value to the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. text : string
  text : string
A value assigned as text. length : integer?
  length : integer?
Length of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 scaleform.TextComponent.set_text_format (self, fmt, startPos, endPos)
  scaleform.TextComponent.set_text_format (self, fmt, startPos, endPos) 
Sets the format of the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. fmt : scaleform.TextFormat
  fmt : scaleform.TextFormat
The format of the text. startPos : integer?
  startPos : integer?
The start position of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 endPos : integer?
  endPos : integer?
The end position of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 scaleform.TextComponent.set_vertical_alignment (self, align)
  scaleform.TextComponent.set_vertical_alignment (self, align) 
Sets vertical alignment such as top, bottom or center.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. align : scaleform.VAlignModes
  align : scaleform.VAlignModes
The alignment scaleform.VAlignModes
  scaleform.VAlignModes
The vertical alignment modes that can be set for a text component.
 scaleform.TextComponent.set_word_wrap (self, wordwrap)
  scaleform.TextComponent.set_word_wrap (self, wordwrap) 
Sets the flag to turn on/off wordwrapping.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. wordwrap : boolean
  wordwrap : boolean
The flag to turn on/off wordwrapping feature. scaleform.TextComponent.text (self) : string
  scaleform.TextComponent.text (self) : string
Returns the text value.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. string
  string scaleform.TextComponent.text_dimensions (self) : scaleform.Size
  scaleform.TextComponent.text_dimensions (self) : scaleform.Size
Returns dimensions of the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component currently in use. scaleform.Size
  scaleform.Size
The dimensions of the text component. scaleform.TextComponent.text_format (self, startPos, endPos) : scaleform.TextFormat
  scaleform.TextComponent.text_format (self, startPos, endPos) : scaleform.TextFormat
Returns the format of the text.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. startPos : integer?
  startPos : integer?
The start position of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 endPos : integer?
  endPos : integer?
The end position of the text.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 scaleform.TextFormat
  scaleform.TextFormat
Currently set text value in HTML format. scaleform.TextComponent.text_height (self) : number
  scaleform.TextComponent.text_height (self) : number
Returns dimensions of the text inside the component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component currently in use. number
  number scaleform.TextComponent.text_width (self) : number
  scaleform.TextComponent.text_width (self) : number
Returns dimensions of the text inside the component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component currently in use. number
  number scaleform.TextComponent.vertical_alignment (self) : scaleform.VAlignModes
  scaleform.TextComponent.vertical_alignment (self) : scaleform.VAlignModes
Returns vertical text alignment(top, bottom, center).
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. scaleform.VAlignModes
  scaleform.VAlignModes
Vertical alignment of the text component. scaleform.TextComponent.word_wrap (self) : boolean
  scaleform.TextComponent.word_wrap (self) : boolean
Determines whether the wordwrapping feature is turned on/off for the text component.
 self : scaleform.TextComponent
  self : scaleform.TextComponent
The text component whose property is set. booleanIndicates a table.
  booleanIndicates a table. 
This documentation uses the term table to mean an anonymous, temporary Lua table that contains named data values.                                        You typically use these tables to pass data or settings to a function, or to hold data returned by a function.Indicates an object. 
This documentation uses the term object to mean a named Lua table or userdata value that maintains a state.                                        Some object types may have multiple instances existing at the same time, each with its own state; these objects typically have creation                                        functions or accessors that you must call in order to get an instance. Some object types have only one instance, which you always access                                        through the object's name.Indicates a named variable within a namespace, object or table; or an element within an enumeration.Indicates a code sample.Indicates an enumeration. 
This documentation uses the term  enumeration to mean a named Lua table that contains only a set of constant                                        values. These values typically identify a predefined set of options for some setting or behavior. You might pass an enumeration value to a                                        function, or test the value returned by a function against the items in the enumeration to see which option is currently set.Indicates a named variable within a namespace or object that has a pre-set constant value.Indicates a category: a semantic grouping of related API elements.Indicates a namespace. 
This documentation uses the term namespace to mean a named Lua table that exists in only one single instance,                                        intended as a container for an interface of related objects, functions and data variables.Indicates an output value returned by a function.Indicates a named function within a namespace or object.Indicates an input parameter for a function.