This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
built_in:text [2015/09/10 10:06] stevegarman [Methods] Ellipsize |
built_in:text [2019/06/21 17:01] symbroson +opt monospace |
||
---|---|---|---|
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 |
- | |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 ) |
- | |Text.GetType() | | | + | | [[built_in: |
- | |Text.GetVisibility() | | | + | | Text.GetVisibility() |
- | |Text.GetWidth() | | | + | | Text.GetWidth() |
- | |Text.Release() | | | + | | Text.Release() |
- | |Text.SetBackColor( color ) | | | + | | Text.SetBackColor( color ) |
- | |Text.SetBackGradient( color1, | + | | Text.SetBackGradient( color1, |
- | |Text.SetBackGradientRadial( x, | + | | Text.SetBackGradientRadial( x, |
- | |Text.SetBackground( imagefile, | + | | Text.SetBackground( imagefile, |
- | |Text.SetEllipsize( mode ) |Shorten long text with " | + | | Text.SetEllipsize( mode ) | Shorten long text with " |
- | |Text.SetFontFile( file ) | | | + | | Text.SetFontFile( file ) |
- | |Text.SetHtml( html ) | | | + | | Text.SetHtml( html ) |
- | |Text.SetMargins( left, | + | | Text.SetMargins( left, |
- | |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, | + | | Text.SetPadding( left, |
- | |Text.SetPosition( left, | + | | Text.SetPosition( left, |
- | |Text.SetScale( x,y ) | | | + | | Text.SetScale( x,y ) |
- | |Text.SetSize( width, | + | | Text.SetSize( width, |
- | |Text.SetText( text ) | | | + | | Text.SetText( text ) |
- | |Text.SetTextColor( color ) | | | + | | Text.SetTextColor( color ) |
- | |Text.SetTextShadow( radius, | + | | Text.SetTextShadow( radius, |
- | |Text.SetTextSize( size,mode ) | | | + | | Text.SetTextSize( size,mode ) | |
- | |Text.SetTouchable( touchable ) | | | + | | Text.SetTouchable( touchable ) |
- | |Text.SetVisibility( HideShow ) | | | + | | Text.SetVisibility( HideShow ) |
===== Options ===== | ===== Options ===== | ||
- | ^Option ^Description ^ | + | ^ Option |
- | |Bold| Write bold Text | | + | | AutoScale |
- | |FontAwesome|Use this to display Icons \\ from this inbuilt font| | + | | Bold |
- | |Html| | | + | | FontAwesome |
- | |Left| | | + | | Html |
- | |Multiline| | | + | | Left |
- | |Right| | | + | | Monospace |
+ | | Multiline | ||
+ | | Right | | | ||
+ | | NoWrap | ||
+ | | Log | Log==' | ||