Difference between revisions of "(Image):getWidth"

(Created page with 'Returns the width of the Image. == Function == === Synopsis === <source lang="lua"> w = Image:getWidth( ) </source> === Arguments === None. === Returns === {{param|number|w|The w…')
 
(See Also)
 
(5 intermediate revisions by 5 users not shown)
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]]
+
* [[Image]]
 +
* [[(Image):getHeight]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the width of the Image.}}
+
{{#set:Description=Gets the width of the Image.}}
 +
{{#set:Since=000}}
 +
 
 +
== Other Languages ==
 +
{{i18n|(Image):getWidth}}

Latest revision as of 19:33, 12 August 2021

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