Difference between revisions of "image.width"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(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...")
 
m (Text replace - "</u> ||" to "</center></u> ||")
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{Since|3.0}}
 
{{Since|3.0}}
  
This function returns as an integer the '''width''' pixels of the given image.
+
This function returns as an integer the '''width''', in pixels, of the given image.
  
 
== Syntax  ==
 
== Syntax  ==
Line 12: Line 12:
 
! Parameter !! Type !! Description
 
! Parameter !! Type !! Description
 
|-
 
|-
| <u>image</u> || [[TI.Image]] || The image you want to the width of.
+
| <u><center>image</center></u> || [[TI.Image]] || The image you want to the width of.
 
|-
 
|-
 
|}
 
|}
Line 21: Line 21:
 
== See also  ==
 
== See also  ==
 
*[[TI.Image]]
 
*[[TI.Image]]
*[[image.width]]
+
*[[image.height]]
  
 
<br /><br />
 
<br /><br />
  
 
[[Category:image]]
 
[[Category:image]]

Latest revision as of 23:41, 30 May 2011

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, in 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