Difference between revisions of "(Image):getWidth"

Line 1: Line 1:
Returns the width of the Image.
+
Gets the width of the Image.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
w = Image:getWidth( )
+
width = Image:getWidth( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|w|The width of the Image, in pixels.}}
+
{{param|number|width|The width of the Image, in pixels.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Image]]
 
* [[parent::Image]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the width of the Image.}}
+
{{#set:Description=Gets the width of the Image.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|(Image):getWidth}}
 
{{i18n|(Image):getWidth}}

Revision as of 11:07, 28 November 2012

Gets the width of the Image.

Function

Synopsis

width = Image:getWidth( )

Arguments

None.

Returns

number width
The width of the Image, in pixels.

See Also


Other Languages