TextView
TextView is used to display text. It can also be used as buttons
app.CreateText("text",w,h,"options")Options
- Multiline
- Singleline
- FontAwesome
Methods
- id
- Destroy()
- Release()
- SetVisibility( mode )
- GetVisibility()
- Hide()
- Gone()
- Show()
- IsVisible()
- SetPadding( left,top,right,bottom )
- SetMargins( left,top,right,bottom )
- SetBackground( file,options )
- SetBackColor( clr )
- SetBackGradient( colour1,colour2,colour3,options )
- SetBackGradientRadial( x,y,radius,colour1,colour2,colour3,options )
- SetColorFilter( clr,mode )
- AdjustColor( hue,sat,bright,cont )
- SetPosition( left,top,width,height,options )
- SetSize( width,height,options )
- GetWidth( options )
- GetHeight( options )
- GetAbsWidth()
- GetAbsHeight()
- GetLeft( options )
- GetTop( options )
- GetPosition( options )
- SetScale( x,y )
- Focus()
- GetType()
- SetText( text )
- SetHtml( html )
- Log( msg,options )
- SetLog( maxLines )
- SetTextSize( size,mode )
- GetTextSize( mode )
- GetText()
- SetTextColor( color )
- SetFontFile( file )
- GetLineCount()
- GetMaxLines()
- GetLineTop( line )
- GetLineStart( line )
- SetEllipsize( mode )
- SetTextShadow( radius,dx,dy,color )
- SetOnTouch( callback )
- SetOnTouchUp( callback )
- SetOnTouchMove( callback )
- SetOnTouchDown( callback )
- SetOnLongTouch( callback )
- SetTouchable( touchable )