Difference between revisions of "Application:getLogicalScaleX"

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

Revision as of 16:56, 12 July 2023

Available since: Gideros 2011.6
Class: Application

Description

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

<syntaxhighlight lang="lua"> (number) = application:getLogicalScaleX() </source>

Return values

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