Difference between revisions of "Video:getDimensions"

m
m
 
(One intermediate revision by one other user not shown)
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 ===
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