Difference between revisions of "Application:setScaleMode"

From GiderosMobile
Line 19: Line 19:
  
 
=== Parameters ===
 
=== Parameters ===
'''scaleMode''': (string) <br/>
+
'''scaleMode''': (string) the scale mode to apply<br/>
  
 
{{Application}}
 
{{Application}}

Revision as of 19:44, 5 December 2020

Available since: Gideros 2012.2.2
Class: Application

Description

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

  • Application.NO_SCALE
  • Application.CENTER
  • Application.PIXEL_PERFECT
  • Application.LETTERBOX
  • Application.CROP
  • Application.STRETCH
  • Application.FIT_WIDTH
  • Application.FIT_HEIGHT


application:setScaleMode(scaleMode)

Parameters

scaleMode: (string) the scale mode to apply