Screen:setPosition: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
'''Available since:''' Gideros 2017.8<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Screen|Screen]]<br/>
'''Class:''' [[Screen]]<br/>
=== <translate>Description</translate> ===
 
<translate>Attempts to position this screen or window, if allowed by the platform.</translate>
=== Description ===
<source lang="lua">
Attempts to position the screen or window, if allowed by the platform.
Screen:setPosition(x,y)
<syntaxhighlight lang="lua">
</source>
Screen:setPosition(x,y)
=== <translate>Parameters</translate> ===
</syntaxhighlight>
'''x''': (number) <translate>The new x coordinate</translate> <br/>
 
'''y''': (number) <translate>The new y coordinate</translate> <br/>
=== Parameters ===
'''x''': (number) the new x coordinate<br/>
'''y''': (number) the new y coordinate<br/>
 
{{Screen}}

Latest revision as of 13:32, 13 July 2023

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