User Tools

Site Tools


built_in:text

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
built_in:text [2015/09/27 13:24]
stevegarman add AutoScale option
built_in:text [2019/06/22 01:01] (current)
Line 45: Line 45:
 Some controls use the same methods.\\ Some controls use the same methods.\\
 For examples of the **[[same methods]]** look here. For examples of the **[[same methods]]** look here.
-^ Method                                                       ^ Description                                                   +^ Method                                                       ^ Description                                                                           
-| Text.Destroy()                                                                                                             +| Text.Destroy()                                                                                                                                     
-| Text.GetAbsHeight()                                          |                                                               +| Text.GetAbsHeight()                                          |                                                                                       
-| Text.GetAbsWidth()                                                                                                         +| Text.GetAbsWidth()                                                                                                                                 
-| Text.GetHeight()                                                                                                           +| Text.GetHeight()                                                                                                                                   
-| Text.GetLineCount()                                          |                                                               +| Text.GetLineCount()                                          |                                                                                       
-| Text.GetLineStart( line )                                    |                                                               +| Text.GetLineStart( line )                                    |                                                                                       
-| Text.GetLineTop( line )                                      |                                                               +| Text.GetLineTop( line )                                      |                                                                                       
-| Text.GetMaxLines()                                                                                                         +| Text.GetMaxLines()                                                                                                                                 
-| Text.GetPosition()                                                                                                         +| Text.GetPosition()                                                                                                                                 
-| Text.GetText()                                                                                                             +| Text.GetText()                                                                                                                                     
-| Text.GetTextSize( mode )                                                                                                   +| Text.GetTextSize( mode )                                                                                                                           
-| [[built_in:gettype|Text.GetType()]]                          | Returns "Text"                                                +| [[built_in:gettype|Text.GetType()]]                          | Returns "Text"                                                                        
-| Text.GetVisibility()                                                                                                       +| Text.GetVisibility()                                                                                                                               
-| Text.GetWidth()                                              |                                                               +| Text.GetWidth()                                              |                                                                                       
-| Text.Release()                                                                                                             +| Text.Release()                                                                                                                                     
-| Text.SetBackColor( color )                                                                                                 +| Text.SetBackColor( color )                                                                                                                         
-| Text.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 )                                                                   +| Text.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 )                                                                                           
-| Text.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 )  |                                                               +| Text.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 )  |                                                                                       
-| Text.SetBackground( imagefile,options )                      |                                                               +| Text.SetBackground( imagefile,options )                      |                                                                                       
-| Text.SetEllipsize( mode )                                    | Shorten long text with "..."  mode="Start","Middle" or "End" +| Text.SetEllipsize( mode )                                    | Shorten long text with "..."  mode="**Start**","**Middle**""**End**" or "**marq**
-| Text.SetFontFile( file )                                                                                                   +| Text.SetFontFile( file )                                                                                                                           
-| Text.SetHtml( html )                                                                                                       +| Text.SetHtml( html )                                                                                                                               
-| Text.SetMargins( left,top,right,bottom )                                                                                   +| Text.SetMargins( left,top,right,bottom )                                                                                                           
-| Text.SetOnLongTouch( callback )                              |                                                               +| Text.SetOnLongTouch( callback )                              |                                                                                       
-| Text.SetOnTouch( callback )                                  |                                                               +| Text.SetOnTouch( callback )                                  |                                                                                       
-| Text.SetOnTouchDown( callback )                              |                                                               +| Text.SetOnTouchDown( callback )                              |                                                                                       
-| Text.SetOnTouchMove( callback )                              |                                                               +| Text.SetOnTouchMove( callback )                              |                                                                                       
-| Text.SetOnTouchUp( callback )                                |                                                               +| Text.SetOnTouchUp( callback )                                |                                                                                       
-| Text.SetPadding( left,top,right,bottom )                                                                                   +| Text.SetPadding( left,top,right,bottom )                                                                                                           
-| Text.SetPosition( left,top,width,height )                    |                                                               +| Text.SetPosition( left,top,width,height )                    |                                                                                       
-| Text.SetScale( x,y )                                                                                                       +| Text.SetScale( x,y )                                                                                                                               
-| Text.SetSize( width,height )                                                                                               +| Text.SetSize( width,height )                                                                                                                       
-| Text.SetText( text )                                                                                                       +| Text.SetText( text )                                                                                                                               
-| Text.SetTextColor( color )                                                                                                 +| Text.SetTextColor( color )                                                                                                                         
-| Text.SetTextShadow( radius,dx,dy,color )                                                                                   +| Text.SetTextShadow( radius,dx,dy,color )                                                                                                           
-| Text.SetTextSize( size,mode )                                |                                                               +| Text.SetTextSize( size,mode )                                |                                                                                       
-| Text.SetTouchable( touchable )                                                                                             +| Text.SetTouchable( touchable )                                                                                                                     
-| Text.SetVisibility( HideShow )                                                                                             |+| Text.SetVisibility( HideShow )                                                                                                                     |
  
 ===== Options ===== ===== Options =====
Line 93: Line 93:
 | Html                                                              | | Html                                                              |
 | Left                                                              | | Left                                                              |
 +| Monospace    | use monospace font                                   |
 | Multiline    |                                                      | | Multiline    |                                                      |
 | Right        |                                                      | | Right        |                                                      |
 +| NoWrap                                                            |
 +| Log          | Log=='multiline,left,nowrap'                         |
 +
  
built_in/text.1443360252.txt.gz · Last modified: 2015/09/27 21:24 (external edit)