Difference between revisions of "Canvas:getWidth"
(Created page with "Returns the width of the Canvas. == Function == === Synopsis === <source lang="lua"> w = Canvas:getWidth( ) </source> === Arguments === None. === Returns === {{param|number|w|The...") |
|||
Line 1: | Line 1: | ||
− | + | Gets the width of the Canvas. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | width = Canvas:getWidth( ) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|number| | + | {{param|number|width|The width of the Canvas, in pixels.}} |
== See Also == | == See Also == | ||
* [[parent::Canvas]] | * [[parent::Canvas]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Gets the width of the Canvas.}} |
{{#set:Since=000}} | {{#set:Since=000}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|Canvas:getWidth}} | {{i18n|Canvas:getWidth}} |
Revision as of 11:07, 28 November 2012
Gets the width of the Canvas.
Function
Synopsis
width = Canvas:getWidth( )
Arguments
None.
Returns
number width
- The width of the Canvas, in pixels.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info