Difference between revisions of "Video:getDimensions"

m
m
 
Line 14: Line 14:
 
* [[parent::Video]]
 
* [[parent::Video]]
 
* [[Video:getWidth]]
 
* [[Video:getWidth]]
* [[Video:getDimensions]]
+
* [[Video:getHeight]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the width and height of the Video.}}
 
{{#set:Description=Gets the width and height of the Video.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Video:getDimensions}}
 
{{i18n|Video:getDimensions}}

Latest revision as of 20:37, 14 December 2015

Available since LÖVE 0.10.0
This function is not supported in earlier versions.

Gets the width and height of the Video in pixels.

Function

Synopsis

width, height = Video:getDimensions( )

Arguments

None.

Returns

number width
The width of the Video.
number height
The height of the Video.

See Also

Other Languages