Application:setScaleMode

From GiderosMobile
Revision as of 00:53, 3 December 2019 by MoKaLux (talk | contribs)

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)