image.width

From Inspired-Lua Wiki
Revision as of 20:59, 24 May 2011 by Adriweb (talk | contribs) (Created page with "image.'''width''' is a function that is part of image. {{Since|3.0}} This function returns as an integer the '''width''' pixels of the given image. == Synt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

image.width is a function that is part of image.

This has been introduced in TI-Nspire OS 3.0 (Changes).


This function returns as an integer the width pixels of the given image.

Syntax

image.width(image)

Parameter Type Description
image TI.Image The image you want to the width of.

Example

imagewidth = image.width(theImage)

See also