Difference between revisions of "Video:getDimensions"

(Created page)
 
m
Line 9: Line 9:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|width|The width of the video.}}
+
{{param|number|width|The width of the Video.}}
 
{{param|number|height|The height of the Video.}}
 
{{param|number|height|The height of the Video.}}
 
== See Also ==
 
== See Also ==

Revision as of 09:29, 14 December 2015

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

Gets the width and height in pixels of the Video.

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