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...") |
(De-parented (Use Texture:getWidth)) |
||
(2 intermediate revisions by 2 users not shown) | |||
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 == | ||
− | * [[ | + | * [[Canvas]] |
+ | * [[Canvas:getHeight]] | ||
+ | * [[Canvas:getDimensions]] | ||
[[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}} |
Latest revision as of 01:44, 19 July 2017
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