// rectangle /** * @type {number} */ export const TOP_LEFT = 0; /** * @type {number} */ export const TOP_CENTER = 1; /** * @type {number} */ export const TOP_RIGHT = 2; /** * @type {number} */ export const LEFT_TOP = 3; /** * @type {number} */ export const LEFT_CENTER = 4; /** * @type {number} */ export const LEFT_BOTTOM = 5; /** * @type {number} */ export const CENTER = 6; /** * @type {number} */ export const RIGHT_TOP = 7; /** * @type {number} */ export const RIGHT_CENTER = 8; /** * @type {number} */ export const RIGHT_BOTTOM = 9; /** * @type {number} */ export const BOTTOM_LEFT = 10; /** * @type {number} */ export const BOTTOM_CENTER = 11; /** * @type {number} */ export const BOTTOM_RIGHT = 12; // scale modes /** * @type {number} */ export const SCALE_LINEAR = 0; /** * @type {number} */ export const SCALE_NEAREST = 1; // scale manager modes /** * @type {number} */ export const SCALE_EXACT_FIT = 0; /** * @type {number} */ export const SCALE_OFF = 1; /** * @type {number} */ export const SCALE_SHOW_ALL = 2; /** * @type {number} */ export const SCALE_RESIZE = 3; /** * @type {number} */ export const SCALE_USER = 4; // times /** * @type {number} */ export const TIME_MINUTE = 60_000; /** * @type {number} */ export const TIME_SECOND = 1000; /** * @type {number} */ export const TIME_HALF = 500; /** * @type {number} */ export const TIME_QUARTER = 250; // tween statuses /** * @type {number} */ export const TWEEN_PENDING = 0; /** * @type {number} */ export const TWEEN_RUNNING = 1; /** * @type {number} */ export const TWEEN_LOOPED = 2; /** * @type {number} */ export const TWEEN_COMPLETE = 3; // blend modes export const BLEND_NORMAL = 0; export const BLEND_ADD = 1; export const BLEND_MULTIPLY = 2; export const BLEND_SCREEN = 3; export const BLEND_OVERLAY = 4; export const BLEND_DARKEN = 5; export const BLEND_LIGHTEN = 6; export const BLEND_COLOR_DODGE = 7; export const BLEND_COLOR_BURN = 8; export const BLEND_HARD_LIGHT = 9; export const BLEND_SOFT_LIGHT = 10; export const BLEND_DIFFERENCE = 11; export const BLEND_EXCLUSION = 12; export const BLEND_HUE = 13; export const BLEND_SATURATION = 14; export const BLEND_COLOR = 15; export const BLEND_LUMINOSITY = 16; // render modes /** * @type {number} */ export const RENDER_AUTO = 0; /** * @type {number} */ export const RENDER_CANVAS = 1; /** * @type {number} */ export const RENDER_WEBGL = 2; // audio modes /** * @type {number} */ export const AUDIO_DISABLED = 0; /** * @type {number} */ export const AUDIO_STANDARD = 1; /** * @type {number} */ export const AUDIO_WEBKIT = 2; // pointer modes /** * @type {number} */ export const POINTER_CURSOR = 1; /** * @type {number} */ export const POINTER_CONTACT = 2; // input modes /** * @type {number} */ export const MOUSE_OVERRIDES_TOUCH = 0; /** * @type {number} */ export const TOUCH_OVERRIDES_MOUSE = 1; /** * @type {number} */ export const MOUSE_TOUCH_COMBINE = 2; // game objects /** * @type {number} */ export const GROUP = 7; /** * @type {number} */ export const SPRITE = 0; /** * @type {number} */ export const SPRITE_BATCH = 17; /** * @type {number} */ export const BUTTON = 1; /** * @type {number} */ export const IMAGE = 2; /** * @type {number} */ export const GRAPHICS = 3; /** * @type {number} */ export const TEXT = 4; /** * @type {number} */ export const BITMAP_TEXT = 6; /** * @type {number} */ export const TILE_SPRITE = 5; /** * @type {number} */ export const RENDER_TEXTURE = 8; /** * @type {number} */ export const FILTER_CANVAS = 14; /** * @type {number} */ export const FILTER_WEBGL = 15; /** * @type {number} */ export const POINTER = 19; /** * @type {number} */ export const GEOM_POLYGON = 12; /** * @type {number} */ export const GEOM_RECTANGLE = 22; /** * @type {number} */ export const GEOM_CIRCLE = 21; /** * @type {number} */ export const GEOM_ELLIPSE = 16; /** * @type {number} */ export const GEOM_ROUNDED_RECTANGLE = 26; /** * @type {number} */ export const GEOM_LINE = 23; /** * @type {number} */ export const GEOM_MATRIX = 24; /** * @type {number} */ export const GEOM_POINT = 25; /** * @type {number} */ export const PENDING_ATLAS = -1;