Difference between revisions of "Ads:setPosition"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2014.01<br/>
'''<translate>Available since</translate>:''' Gideros 2014.01<br/>
+
'''Class:''' [[Ads]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Ads|Ads]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Sets position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling</translate>
+
Sets position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Ads:setPosition(x,y)
+
Ads:setPosition(x,y)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''x''': (number) <translate>x position to set</translate> <br/>
+
=== Parameters ===
'''y''': (number) <translate>y position to set</translate> <br/>
+
'''x''': (number) x position to set<br/>
 +
'''y''': (number) y position to set<br/>
  
 
{{Ads}}
 
{{Ads}}

Latest revision as of 17:21, 12 July 2023

Available since: Gideros 2014.01
Class: Ads

Description

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

Ads:setPosition(x,y)

Parameters

x: (number) x position to set
y: (number) y position to set