Difference between revisions of "Application:getLogicalTranslateX"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 5: Line 5:
 
Returns the translation of automatic screen scaling on the x-axis.
 
Returns the translation of automatic screen scaling on the x-axis.
  
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = application:getLogicalTranslateX()
 
(number) = application:getLogicalTranslateX()
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 18:01, 12 July 2023

Available since: Gideros 2011.6
Class: Application

Description

Returns the translation of automatic screen scaling on the x-axis.

(number) = application:getLogicalTranslateX()

Return values

Returns (number) the translation of automatic screen scaling on the x-axis