Difference between revisions of "Video:getDimensions"

m
m
Line 1: Line 1:
 
{{newin|[[0.10.0]]|100|type=function}}
 
{{newin|[[0.10.0]]|100|type=function}}
Gets the width and height in pixels of the Video.
+
Gets the width and height of the Video in pixels.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 09:35, 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