Image
Image is used to display images
app.CreateImage(src,w,h,options)Options
- ScaleCenter
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 )
- GetWidth()
- GetHeight()
- GetAbsWidth()
- GetAbsHeight()
- GetLeft( options )
- GetTop( options )
- GetPosition( options )
- SetScale( x,y )
- Focus()
- _auto
- _gfb
- GetType()
- Clear()
- Update()
- Update2()
- SetAutoUpdate( onoff )
- SetName( name )
- GetName()
- SetImage( image,width,height,options )
- GetPixelData( format,left,top,width,height )
- SetOnTouch( callback )
- SetOnTouchUp( callback )
- SetOnTouchMove( callback )
- SetOnTouchDown( callback )
- SetOnLongTouch( callback )
- SetOnLoad( callback )
- SetTouchable( touchable )
- SetMaxRate( ms )
- DrawImage( image,x,y,w,h,angle,mode )
- DrawImageMtx( image,matrix )
- DrawPoint( x,y )
- DrawCircle( x,y,radius )
- DrawArc( x1,y1,x2,y2,start,sweep )
- DrawLine( x1,y1,x2,y2 )
- DrawRectangle( x1,y1,x2,y2 )
- DrawText( txt,x,y )
- SetAlpha( alpha )
- SetColor( clr )
- SetTextSize( size )
- SetFontFile( file )
- SetLineWidth( width )
- SetPaintColor( clr )
- SetPaintStyle( style )
- Rotate( angle,pivX,pivY )
- Move( x,y )
- Scale( x,y )
- Skew( x,y )
- Transform( matrix )
- Reset()
- Save( fileName,quality )
- Draw( func, p1, p2, p3, p4, p5, p6, p7 )