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 | + | 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 | + | {{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: | + | * [[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
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info