Ads:getPosition: Difference between revisions

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


{{Ads}}
{{Ads}}

Revision as of 20:07, 16 April 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