Difference between revisions of "Ads:getX"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Gets x position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
 
Gets x position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Ads:getX()
 
(number) = Ads:getX()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 18:09, 12 July 2023

Available since: Gideros 2014.01
Class: Ads

Description

Gets x position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.

(number) = Ads:getX()

Return values

Returns (number) x position of the ad