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
built_in:images [2017/10/15 16:41]
202.8.246.7 [Table]
built_in:images [2018/04/19 23:23] (current)
Line 47: Line 47:
 | Image.GetVisibility()                                                                                                                                                                                                                       | | Image.GetVisibility()                                                                                                                                                                                                                       |
 | Image.GetWidth()                                              |                                                                                                                                                                               | | Image.GetWidth()                                              |                                                                                                                                                                               |
-| Image.Move( x, y )                                            |                                                                                                                                                                               |+| Image.Move( x, y )                                            | Move of a canvas                                                                                                                                                                              |
 | Image.Release()                                               | Release object memory.                                                                                                                                                        | | Image.Release()                                               | Release object memory.                                                                                                                                                        |
 | Image.Reset()                                                                                                                                                                                                                               | | Image.Reset()                                                                                                                                                                                                                               |
-| Image.Rotate( angle, pivotX, pivotY )                                                                                                                                                                                                       |+| Image.Rotate( angle, pivotX, pivotY )                         Rotate of a canvas                                                                                                                                                                            |
 | [[Image.Save]]( fileName,quality )                            | quality parameter new since Vers 1.29 \\ support for png files since Vers 1.29                                                                                                | | [[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 )                                           Set zoom of a canvas                                                                                                                                                                              
-| Image.SetAlpha( alpha )                                                                                                                                                                                                                     |+| Image.SetAlpha( alpha )                                       Transparency of a canvas                                                                                                                                                                              |
 | Image.SetAutoUpdate( onoff )                                  | Turn On/Off the update on action on image manipulation. By turning off update, call to Image.Update( ) will update the image all commands done on the image.                  | | Image.SetAutoUpdate( onoff )                                  | Turn On/Off the update on action on image manipulation. By turning off update, call to Image.Update( ) will update the image all commands done on the image.                  |
-| Image.SetBackColor( colorCode )                                                                                                                                                                                                             |+| Image.SetBackColor( colorCode )                               Set background color                                                                                                                                                                              |
 | 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 )  |                                                                                                                                                                               |
Line 65: Line 65:
 | Image.SetMargins( left,top,right,bottom )                                                                                                                                                                                                   | | Image.SetMargins( left,top,right,bottom )                                                                                                                                                                                                   |
 | Image.SetMaxRate( ms )                                        | Set the minimum amount of time (in ms) between OnTouchMove events                                                                                                             | | Image.SetMaxRate( ms )                                        | Set the minimum amount of time (in ms) between OnTouchMove events                                                                                                             |
-| Image.SetName( p1 )                                                                                                                                                                                                                         |+| Image.SetName( p1 )                                           Set name canvas                                                                                                                                                                              |
 | Image.SetOnLoad( callback )                                                                                                                                                                                                                 | | Image.SetOnLoad( callback )                                                                                                                                                                                                                 |
 | Image.SetOnLongTouch( callback )                              |                                                                                                                                                                               | | Image.SetOnLongTouch( callback )                              |                                                                                                                                                                               |
Line 74: Line 74:
 | Image.SetPadding( left, top, right, bottom )                  |                                                                                                                                                                               | | Image.SetPadding( left, top, right, bottom )                  |                                                                                                                                                                               |
 | Image.SetPaintColor( color )                                  | Set the color on draw action to the image.                                                                                                                                    | | Image.SetPaintColor( color )                                  | Set the color on draw action to the image.                                                                                                                                    |
-| Image.SetPaintStyle( style )                                  |                                                                                                                                                                               |+| Image.SetPaintStyle( style )                                  | Paint style(line,fill)                                                                                                                                                                              |
 | 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)                                                                                                                         |
Line 88: Line 88:
 ===== Options ===== ===== Options =====
  
-^Option ^Description +Button       Causes the image to depress like a button when touched                                                                                                                                       
-|async| Loads the image from file in the background and allows your code to continue without waiting for it to load| +| 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)  
-|ScaleCenter| you can use the option to keep the image at it's original size and centered within the Image object|+| ScaleCenter  | you can use the option to keep the image at it's original size and centered within the Image object                                                                                          | 
 +| Button       | Causes image to depress like a button when touched                                              |
  
 ---- ----
built_in/images.1508085692.txt.gz · Last modified: 2017/10/16 00:41 (external edit)