Difference between revisions of "Screen:setPosition"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2017.8<br/>
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
+
'''Class:''' [[Screen]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Screen|Screen]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Attempts to position this screen or window, if allowed by the platform.</translate>
+
Attempts to position the screen or window, if allowed by the platform.
 
<source lang="lua">
 
<source lang="lua">
Screen:setPosition(x,y)
+
Screen:setPosition(x,y)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''x''': (number) <translate>The new x coordinate</translate> <br/>
+
=== Parameters ===
'''y''': (number) <translate>The new y coordinate</translate> <br/>
+
'''x''': (number) the new x coordinate<br/>
 +
'''y''': (number) the new y coordinate<br/>
  
 
{{Screen}}
 
{{Screen}}

Revision as of 03:15, 28 April 2021

Available since: Gideros 2017.8
Class: Screen

Description

Attempts to position the screen or window, if allowed by the platform.

Screen:setPosition(x,y)

Parameters

x: (number) the new x coordinate
y: (number) the new y coordinate