Difference between revisions of "Video:getDimensions"

(Created page)
 
m
 
(2 intermediate revisions 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 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 ==
 
* [[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