Difference between revisions of "Application"
(added clipboard methods) |
(added application scale constants) |
||
Line 66: | Line 66: | ||
[[Event.APPLICATION_RESUME|Event.APPLICATION_RESUME]]<br/> | [[Event.APPLICATION_RESUME|Event.APPLICATION_RESUME]]<br/> | ||
=== Constants === | === Constants === | ||
− | [[Application. | + | [[Application.CONSTANTS|Application.LANDSCAPE_LEFT]]<br/><!--GIDEROSCST:Application.LANDSCAPE_LEFT landscapeLeft--> |
− | [[Application. | + | [[Application.CONSTANTS|Application.LANDSCAPE_RIGHT]]<br/><!--GIDEROSCST:Application.LANDSCAPE_RIGHT landscapeRight--> |
− | [[Application. | + | [[Application.CONSTANTS|Application.PORTRAIT]]<br/><!--GIDEROSCST:Application.PORTRAIT portrait--> |
− | [[Application. | + | [[Application.CONSTANTS|Application.PORTRAIT_UPSIDE_DOWN]]<br/><!--GIDEROSCST:Application.PORTRAIT_UPSIDE_DOWN portraitUpsideDown--> |
+ | |||
+ | [[Application.CONSTANTS|Application.CENTER]]<br/><!--GIDEROSCST:Application.CENTER center--> | ||
+ | [[Application.CONSTANTS|Application.CROP]]<br/><!--GIDEROSCST:Application.CROP crop--> | ||
+ | [[Application.CONSTANTS|Application.FIT_HEIGHT]]<br/><!--GIDEROSCST:Application.FIT_HEIGHT fitHeight--> | ||
+ | [[Application.CONSTANTS|Application.FIT_WIDTH]]<br/><!--GIDEROSCST:Application.FIT_WIDTH fitWidth--> | ||
+ | [[Application.CONSTANTS|Application.LETTERBOX]]<br/><!--GIDEROSCST:Application.LETTERBOX letterbox--> | ||
+ | [[Application.CONSTANTS|Application.NO_SCALE]]<br/><!--GIDEROSCST:Application.NO_SCALE noScale--> | ||
+ | [[Application.CONSTANTS|Application.PIXEL_PERFECT]]<br/><!--GIDEROSCST:Application.PIXEL_PERFECT pixelPerfect--> | ||
+ | [[Application.CONSTANTS|Application.STRETCH]]<br/><!--GIDEROSCST:Application.STRETCH stretch--> | ||
|} | |} | ||
{{GIDEROS IMPORTANT LINKS}} | {{GIDEROS IMPORTANT LINKS}} |
Revision as of 05:05, 5 December 2020
Supported platforms:
Available since: Gideros 2011.6
Inherits from: Object
Description
The Application class contains the common functions that are available to the current application. There is a global variable application of type Application to access these functions.
MethodsApplication:canOpenUrl tests if it is possible to open provided url |
EventsEvent.APPLICATION_START ConstantsApplication.LANDSCAPE_LEFT Application.CENTER |