/** * @author Richard Davey * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ declare var ALIGN_CONST: { TOP_LEFT: number; TOP_CENTER: number; TOP_RIGHT: number; LEFT_TOP: number; LEFT_CENTER: number; LEFT_BOTTOM: number; CENTER: number; RIGHT_TOP: number; RIGHT_CENTER: number; RIGHT_BOTTOM: number; BOTTOM_LEFT: number; BOTTOM_CENTER: number; BOTTOM_RIGHT: number; }; declare var AlignInMap: any[]; /** * Takes given Game Object and aligns it so that it is positioned relative to the other. * The alignment used is based on the `position` argument, which is an `ALIGN_CONST` value, such as `LEFT_CENTER` or `TOP_RIGHT`. * * @function Phaser.Display.Align.In.QuickSet * @since 3.0.0 * * @generic {Phaser.GameObjects.GameObject} G - [child,$return] * * @param {Phaser.GameObjects.GameObject} child - The Game Object that will be positioned. * @param {Phaser.GameObjects.GameObject} alignIn - The Game Object to base the alignment position on. * @param {integer} position - The position to align the Game Object with. This is an align constant, such as `ALIGN_CONST.LEFT_CENTER`. * @param {number} [offsetX=0] - Optional horizontal offset from the position. * @param {number} [offsetY=0] - Optional vertical offset from the position. * * @return {Phaser.GameObjects.GameObject} The Game Object that was aligned. */ declare var QuickSet: (child: any, alignIn: any, position: any, offsetX: any, offsetY: any) => any;