Difference between revisions of "Canvas:getHeight"

(Created page with "Returns the height of the Canvas. == Function == === Synopsis === <source lang="lua"> h = Canvas:getHeight( ) </source> === Arguments === None. === Returns === {{param|number|h|T...")
 
m (De-parented (Use Texture:getHeight))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns the height of the Canvas.
+
Gets the height of the Canvas.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
h = Canvas:getHeight( )
+
height = Canvas:getHeight( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|h|The height of the Canvas, in pixels.}}
+
{{param|number|height|The height of the Canvas, in pixels.}}
 
== See Also ==
 
== See Also ==
* [[parent::Canvas]]
+
* [[Canvas]]
 +
* [[Canvas:getWidth]]
 +
* [[Canvas:getDimensions]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the height of the Canvas.}}
+
{{#set:Description=Gets the height of the Canvas.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Canvas:getHeight}}
 
{{i18n|Canvas:getHeight}}

Latest revision as of 01:44, 19 July 2017

Gets the height of the Canvas.

Function

Synopsis

height = Canvas:getHeight( )

Arguments

None.

Returns

number height
The height of the Canvas, in pixels.

See Also


Other Languages