Difference between revisions of "Application:setScaleMode"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />

Revision as of 09:27, 24 August 2018

Available since: Gideros 2012.2.2
Class: Application

Description


Sets the automatic scale mode of the application. Accepted values are:

<ul>
<li>Application.NO_SCALE = "noScale"</li>
<li>Application.CENTER = "center"</li>
<li>Application.PIXEL_PERFECT = "pixelPerfect"</li>
<li>Application.LETTERBOX = "letterbox"</li>
<li>Application.CROP = "crop"</li>
<li>Application.STRETCH = "stretch"</li>
<li>Application.FIT_WIDTH = "fitWidth"</li>
<li>Application.FIT_HEIGHT = "fitHeight"</li>
</ul>

 Application:setScaleMode(scaleMode)

Parameters

scaleMode: (string)