Ads:getPosition: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
=== <translate>Description</translate> ===
<translate>Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling</translate>
<translate>Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling</translate>
<source lang="lua">
<source lang="lua">
(number), (number) = Ads:getPosition()
(number), (number) = Ads:getPosition()
</source>
</source>
=== Return values ===
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>x position of the ad</translate><br/>
'''<translate>Returns</translate>''' (number) <translate>x position of the ad</translate><br/>
'''Returns''' (number) <translate>y position of the ad</translate><br/>
'''<translate>Returns</translate>''' (number) <translate>y position of the ad</translate><br/>

Revision as of 06:26, 24 August 2018

Available since: Gideros 2011.6

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