Application:setScaleMode

From GiderosMobile
Revision as of 10:02, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2012.2.2<br/> === Description === <br /> Sets the automatic scale mode of the application. Accepted values are:<br /> <br /> <ul&gt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2012.2.2

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,)

'scaleMode: (string) '