User Tools

Site Tools


built_in:images

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
Next revision Both sides next revision
built_in:images [2015/03/30 16:05]
octazid [options]
built_in:images [2017/02/16 11:09]
stevegarman save
Line 26: Line 26:
 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                                                                     
-|Image.Clear() | | +| Image.Clear()                                                                                                                                 
-|Image.Destroy() | | +| Image.Destroy()                                                                                                                               
-|Image.Draw( func, p1, p2, p3, p4, p5, p6, p7 ) | | +| Image.Draw( func, p1, p2, p3, p4, p5, p6, p7 )                                                                                                
-|Image.DrawArc( x1, y1, x2, y2, start, sweep ) | | +| Image.DrawArc( x1, y1, x2, y2, start, sweep )                                                                                                 
-|Image.DrawCircle( x,y,radius ) | | +| Image.DrawCircle( x,y,radius )                                                                                                                
-|Image.DrawImage( image, x, y, w, h, angle ) | | +| Image.DrawImage( image, x, y, w, h, angle )                                                                                                   
-|Image.DrawImageMtx( image, matrix ) | | +| Image.DrawImageMtx( image, matrix )                                                                                                           
-|Image.DrawLine( x1, y1, x2, y2 ) | | +| Image.DrawLine( x1, y1, x2, y2 )                                                                                                              
-|Image.DrawPoint( x, y ) | | +| Image.DrawPoint( x, y )                                                                                                                       
-|Image.DrawRectangle( x1, y1, x2, y2 ) | | +| Image.DrawRectangle( x1, y1, x2, y2 )                                                                                                         
-|Image.DrawText( txt, x, y ) | | +| Image.DrawText( txt, x, y )                                                                                                                   
-|Image.GetAbsHeight() | | +| Image.GetAbsHeight()                                                                                                                          
-|Image.GetAbsWidth() | | +| Image.GetAbsWidth()                                                                                                                           
-|Image.GetHeight() | | +| Image.GetHeight()                                                                                                                             
-|Image.GetName() | | +| Image.GetName()                                                                                                                               
-|Image.GetPixelData( format, left, top, width, height ) | | +| Image.GetPixelData( format, left, top, width, height )        format can be "rawbase64", "pngbase64" or "jpgbase64"                           
-|Image.GetPosition() | | +| Image.GetPosition()                                           returns an object with properties: left, top, width, height                     
-|Image.GetType() | | +| Image.GetType()                                                                                                                               
-|Image.GetVisibility() | | +| Image.GetVisibility()                                                                                                                         
-|Image.GetWidth() | | +| Image.GetWidth()                                                                                                                              
-|Image.Move( x, y ) | | +| Image.Move( x, y )                                                                                                                            
-|Image.Release() | | +| Image.Release()                                                                                                                               
-|Image.Reset() | | +| Image.Reset()                                                                                                                                 
-|Image.Rotate( angle, pivotX, pivotY ) | | +| Image.Rotate( angle, pivotX, pivotY )                                                                                                         
-|Image.Save( fileName ) | | +[[Image.Save]]( fileName,quality                                quality parameter new since Vers 1.29 \\ support for png files since Vers 1.29  
-|Image.Scale( x, y ) | | +| Image.Scale( x, y )                                                                                                                           
-|Image.SetAlpha( alpha ) | | +| Image.SetAlpha( alpha )                                                                                                                       
-|Image.SetAutoUpdate( onoff ) | | +| Image.SetAutoUpdate( onoff )                                                                                                                  
-|Image.SetBackColor( colorCode ) | | +| Image.SetBackColor( colorCode )                                                                                                               
-|Image.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 ) | | +| Image.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 )                                                                                     
-|Image.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 ) | | +| Image.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 )                                                                                  
-|Image.SetBackground( imagefile,options ) | | +| Image.SetBackground( imagefile,options )                                                                                                      
-|Image.SetColor( color ) | | +| Image.SetColor( color )                                                                                                                       
-|Image.SetFontFile( file ) | | +| Image.SetFontFile( file )                                                                                                                     
-|Image.SetImage( image,width,height,options ) | | +| Image.SetImage( image,width,height,options )                                                                                                  
-|Image.SetLineWidth( width ) | | +| Image.SetLineWidth( width )                                                                                                                   
-|Image.SetMargins( left,top,right,bottom ) | | +| Image.SetMargins( left,top,right,bottom )                                                                                                     
-|Image.SetMaxRate( ms ) | | +| Image.SetMaxRate( ms )                                        Set the minimum amount of time (in ms) between OnTouchMove events               
-|Image.SetName( p1 ) | | +| Image.SetName( p1 )                                                                                                                           
-|Image.SetOnLoad( callback ) | | +| Image.SetOnLoad( callback )                                                                                                                   
-|Image.SetOnLongTouch( callback ) | | +| Image.SetOnLongTouch( callback )                                                                                                              
-|Image.SetOnTouch( callback ) | | +| Image.SetOnTouch( callback )                                                                                                                  
-|Image.SetOnTouchDown( callback ) | | +| Image.SetOnTouchDown( callback )                                                                                                              
-|Image.SetOnTouchMove( callback ) | | +| Image.SetOnTouchMove( callback )                                                                                                              
-|Image.SetOnTouchUp( callback ) | | +| Image.SetOnTouchUp( callback )                                                                                                                
-|Image.SetPadding( left, top, right, bottom ) | | +| Image.SetPadding( left, top, right, bottom )                                                                                                  
-|Image.SetPaintColor( color ) | | +| Image.SetPaintColor( color )                                                                                                                  
-|Image.SetPaintStyle( style ) | | +| Image.SetPaintStyle( style )                                                                                                                  
-|Image.SetPosition( left, top, width, height ) | | +| Image.SetPosition( left, top, width, height )                                                                                                 
-|Image.SetScale( x,y ) |Fract values (as usual): 1=original, -1=flip (mirror) | +| Image.SetScale( x,y )                                         | Fract values (as usual): 1=original, -1=flip (mirror)                           
-|Image.SetSize( width, height ) | | +| Image.SetSize( width, height )                                                                                                                
-|Image.SetTextSize( size ) | | +| Image.SetTextSize( size )                                                                                                                     
-|Image.SetTouchable( callback ) | | +| Image.SetTouchable( callback )                                                                                                                
-|Image.SetVisibility( HideShow ) | | +| Image.SetVisibility( HideShow )                                                                                                               
-|Image.Skew( p1,p2 ) | | +| Image.Skew( p1,p2 )                                                                                                                           
-|Image.Transform( matrix ) | | +| Image.Transform( matrix )                                                                                                                     
-|Image.Update() | | +| Image.Update()                                                                                                                                
-|Image.Update2() | |+| Image.Update2()                                                                                                                               |
  
 ===== Options ===== ===== Options =====
  
 ^Option ^Description ^ ^Option ^Description ^
-|async| |+|async| Loads the image from file in the background and allows your code to continue without waiting for it to load|
 |FontAwesome| Use this option to write icons as Text on your image\\ (see the sample at the bottom)| |FontAwesome| Use this option to write icons as Text on your image\\ (see the sample at the bottom)|
 |Resize| The Resize option internally scales down the original image to the display size, so it uses up less memory than the full size image (useful if you are displaying lots of thumbnail images)| |Resize| The Resize option internally scales down the original image to the display size, so it uses up less memory than the full size image (useful if you are displaying lots of thumbnail images)|
built_in/images.txt · Last modified: 2018/04/19 23:23 (external edit)