Easing.Back#Out()

Out(k) → {number} Back ease-out. Parameters Name Type Description k number The value to be tweened. Returns number - The tweened value. Source code: tween/Easing.js (Line 473)

Easing.Back#InOut()

InOut(k) → {number} Back ease-in/out. Parameters Name Type Description k number The value to be tweened. Returns number - The tweened value. Source code: tween/Easing.js (Line 487)

Easing.Back#In()

In(k) → {number} Back ease-in. Parameters Name Type Description k number The value to be tweened. Returns number - The tweened value. Source code: tween/Easing.js (Line 459)

Easing.Back#Back

new Back() Back easing. Source code: tween/Easing.js (Line 457)

Easing#Easing

new Easing() A collection of easing methods defining ease-in and ease-out curves. Source code: tween/Easing.js (Line 14)

DOM.visualBounds

<static, readonly> visualBounds : Phaser.Rectangle The bounds of the Visual viewport, as discussed inA tale of two viewports — part onewith one difference: the viewport size excludes scrollbars, as found on some desktop browsers. Supported mobile: iOS/Safari, Android 4, IE10, Firefox OS (maybe not Firefox Android), Opera Mobile 16 The properties change dynamically. Properties: Name Type Description x number Scroll, left offset - eg. "scrollX" y number Scroll, top offset - eg.

DOM.layoutBounds

<static, readonly> layoutBounds : Phaser.Rectangle The bounds of the Layout viewport, as discussed inA tale of two viewports — part two;but honoring the constraints as specified applicable viewport meta-tag. The bounds returned are not guaranteed to be fully aligned with CSS media queries (seeWhat size is my viewport?). This is not representative of the Visual bounds: in particular the non-primary axis willgenerally be significantly larger than the screen height on mobile devices when

DOM.inLayoutViewport()

<static> inLayoutViewport(element, cushion) → {boolean} Tests if the given DOM element is within the Layout viewport. The optional cushion parameter allows you to specify a distance. inLayoutViewport(element, 100) is true if the element is in the viewport or 100px near it.inLayoutViewport(element, -100) is true if the element is in the viewport or at least 100px near it. Parameters Name Type Argument Description element DOMElement | Object The DOM element to check. If no element i

DOM.getOffset()

<static> getOffset(element, point) → {Phaser.Point} Get the [absolute] position of the element relative to the Document. The value may vary slightly as the page is scrolled due to rounding errors. Parameters Name Type Argument Description element DOMElement The targeted element that we want to retrieve the offset. point Phaser.Point <optional> The point we want to take the x/y values of the offset. Returns Phaser.Point - A point objet with the offsetX and Y as its p

DOM.getBounds()

<static> getBounds(element, cushion) → {Object | boolean} A cross-browser element.getBoundingClientRect method with optional cushion. Returns a plain object containing the properties top/bottom/left/right/width/height with respect to the top-left corner of the current viewport.Its properties match the native rectangle.The cushion parameter is an amount of pixels (+/-) to cushion the element.It adjusts the measurements such that it is possible to detect when an element is near the viewp