Difference between revisions of "Category:image"

From Inspired-Lua Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Quick Overview==
 
== Quick Overview==
*'''[[image.copy]]'''([[TI.Image]], width, height) : Returns a copy of the input image scaled to fit the specified pixel width and height.  
+
*'''[[image.copy]]'''(theImage, width, height) : Returns a copy of the input image scaled to fit the specified pixel width and height.  
*'''[[image.height]]'''([[TI.Image]]) : Returns the height of the ''image''
+
*'''[[image.height]]'''(theImage) : Returns the height of the ''image''
*'''[[image.new]]'''([[TI.Image]]) : Allocates a new TI.Image
+
*'''[[image.new]]'''(theImage) : Allocates a new [[TI.Image]]
*'''[[image.width]]'''([[TI.Image]]) : Returns the width of the ''image''
+
*'''[[image.rotate]]'''(theImage, angle) : Returns a rotated copy of ''theImage'' by ''angle'' degrees
 +
*'''[[image.width]]'''(theImage) : Returns the width of the ''image''
 +
 
 +
 
 +
== Note ==
 +
Like on strings or with with the [[gc]] object, you can call the ''image'' methods directly with the colon way : instead of '''image.height(logo)''', you can write "'''logo:height()'''"

Latest revision as of 15:58, 17 December 2013

Quick Overview

  • image.copy(theImage, width, height) : Returns a copy of the input image scaled to fit the specified pixel width and height.
  • image.height(theImage) : Returns the height of the image
  • image.new(theImage) : Allocates a new TI.Image
  • image.rotate(theImage, angle) : Returns a rotated copy of theImage by angle degrees
  • image.width(theImage) : Returns the width of the image


Note

Like on strings or with with the gc object, you can call the image methods directly with the colon way : instead of image.height(logo), you can write "logo:height()"

Pages in category "image"

The following 6 pages are in this category, out of 6 total.