Difference between revisions of "Category:image"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
*'''[[image.rotate]]'''(theImage, angle) : Returns a rotated copy of ''theImage'' by ''angle'' degrees | *'''[[image.rotate]]'''(theImage, angle) : Returns a rotated copy of ''theImage'' by ''angle'' degrees | ||
*'''[[image.width]]'''(theImage) : Returns the width of the ''image'' | *'''[[image.width]]'''(theImage) : Returns the width of the ''image'' | ||
+ | |||
+ | |||
+ | == Note == | ||
+ | Like 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()'''" |
Revision as of 15:20, 30 May 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 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.