Difference between revisions of "(Image):getWidth"

m
(See Also)
 
(4 intermediate revisions by 4 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 ==
 
== Other Languages ==
 
{{i18n|(Image):getWidth}}
 
{{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