Difference between revisions of "Ads:getPosition"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied autom...") |
m (Text replacement - "</source" to "</syntaxhighlight") |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
| + | '''Class:''' [[Ads]]<br/> | ||
| + | |||
=== Description === | === Description === | ||
| − | Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling | + | Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling. |
| − | < | + | <syntaxhighlight lang="lua"> |
| − | (number) (number) | + | (number), (number) = Ads:getPosition() |
| − | </ | + | </syntaxhighlight> |
| + | |||
| + | === Return values === | ||
'''Returns''' (number) x position of the ad<br/> | '''Returns''' (number) x position of the ad<br/> | ||
'''Returns''' (number) y position of the ad<br/> | '''Returns''' (number) y position of the ad<br/> | ||
| + | |||
| + | {{Ads}} | ||
Latest revision as of 17:21, 12 July 2023
Available since: Gideros 2011.6
Class: Ads
Description
Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
(number), (number) = Ads:getPosition()
Return values
Returns (number) x position of the ad
Returns (number) y position of the ad