File: utils/LConstant.js
/** @language chinese
* @class 全局变量
* @since 1.0.0
* @public
*/
/** @language chinese
* 用来和LGlobal.os的值做比较,判断用户的环境为PC。
* @property OS_PC
* @since 1.0.0
* @public
*/
var OS_PC = "pc",
/** @language chinese
* 用来和LGlobal.os的值做比较,判断用户的环境为iPhone。
* @property OS_IPHONE
* @since 1.0.0
* @public
*/
OS_IPHONE = "iPhone",
/** @language chinese
* 用来和LGlobal.os的值做比较,判断用户的环境为iPod。
* @property OS_IPOD
* @since 1.0.0
* @public
*/
OS_IPOD = "iPod",
/** @language chinese
* 用来和LGlobal.os的值做比较,判断用户的环境为iPad。
* @property OS_IPAD
* @since 1.0.0
* @public
*/
OS_IPAD = "iPad",
/** @language chinese
* 用来和LGlobal.os的值做比较,判断用户的环境为Android。
* @property OS_ANDROID
* @since 1.0.0
* @public
*/
OS_ANDROID = "Android",
/** @language chinese
* 用来和LGlobal.os的值做比较,判断用户的环境为Windows Phone。
* @property OS_WINDOWS_PHONE
* @since 1.0.0
* @public
*/
OS_WINDOWS_PHONE = "Windows Phone",
/** @language chinese
* 用来和LGlobal.os的值做比较,判断用户的环境为BlackBerry。
* @property OS_BLACK_BERRY
* @since 1.0.0
* @public
*/
OS_BLACK_BERRY = "BlackBerry",
/** @language chinese
* 表示字符串"none"。
* @property NONE
* @since 1.0.0
* @public
*/
NONE = "none",
/** @language chinese
* 表示字符串"undefined"。
* @property UNDEFINED
* @since 1.0.0
* @public
*/
UNDEFINED = "undefined",
/** @language chinese
* 用来设定LGlobal.aspectRatio值,表示限制纵向显示,即只能横向显示。
* @property LANDSCAPE
* @since 1.0.0
* @public
*/
LANDSCAPE = "landscape",
/** @language chinese
* 用来设定LGlobal.aspectRatio值,表示限制横向显示,即只能纵向显示。
* @property PORTRAIT
* @since 1.0.0
* @public
*/
PORTRAIT = "portrait",
/** @language chinese
* 鼠标相对于canvas舞台左上角坐标x。
* @property mouseX
* @since 1.0.0
* @public
*/
mouseX,
/** @language chinese
* 鼠标相对于canvas舞台左上角坐标y。
* @property mouseY
* @since 1.0.0
* @public
*/
mouseY;