Rectangle.intersects()

<static> intersects(a, b) → {boolean} Determines whether the two Rectangles intersect with each other.This method checks the x, y, width, and height properties of the Rectangles. Parameters Name Type Description a Phaser.Rectangle The first Rectangle object. b Phaser.Rectangle The second Rectangle object. Returns boolean - A value of true if the specified object intersects with this Rectangle object; otherwise false. Source code: geom/Rectangle.js (Line 960)

Rectangle.intersectsRaw()

<static> intersectsRaw(left, right, top, bottom, tolerance) → {boolean} Determines whether the object specified intersects (overlaps) with the given values. Parameters Name Type Description left number The x coordinate of the left of the area. right number The right coordinate of the area. top number The y coordinate of the area. bottom number The bottom coordinate of the area. tolerance number A tolerance value to allow for an intersection test with padding, default to 0

Rectangle.sameDimensions()

<static> sameDimensions(a, b) → {boolean} Determines if the two objects (either Rectangles or Rectangle-like) have the same width and height values under strict equality. Parameters Name Type Description a Rectangle-like The first Rectangle object. b Rectangle-like The second Rectangle object. Returns boolean - True if the object have equivalent values for the width and height properties. Source code: geom/Rectangle.js (Line 920)

Rectangle.size()

<static> size(a, output) → {Phaser.Point} The size of the Rectangle object, expressed as a Point object with the values of the width and height properties. Parameters Name Type Argument Description a Phaser.Rectangle The Rectangle object. output Phaser.Point <optional> Optional Point object. If given the values will be set into the object, otherwise a brand new Point object will be created and returned. Returns Phaser.Point - The size of the Rectangle object Sourc

Rectangle.union()

<static> union(a, b, output) → {Phaser.Rectangle} Adds two Rectangles together to create a new Rectangle object, by filling in the horizontal and vertical space between the two Rectangles. Parameters Name Type Argument Description a Phaser.Rectangle The first Rectangle object. b Phaser.Rectangle The second Rectangle object. output Phaser.Rectangle <optional> Optional Rectangle object. If given the new values will be set into this object, otherwise a brand new Rectangl

RenderTexture#baseTexture

baseTexture : PIXI.BaseTexture The base texture object that this texture uses Inherited From PIXI.RenderTexture#baseTexture Source code: pixi/textures/RenderTexture.js (Line 78)

RenderTexture#baseTexture

baseTexture : PIXI.BaseTexture The base texture object that this texture uses Source code: pixi/textures/RenderTexture.js (Line 78)

RenderTexture#clear()

clear() Clears the RenderTexture. Inherited From PIXI.RenderTexture#clear Source code: pixi/textures/RenderTexture.js (Line 175)

RenderTexture#clear()

clear() Clears the RenderTexture. Source code: pixi/textures/RenderTexture.js (Line 175)

RenderTexture#crop

crop :Rectangle This is the area of the BaseTexture image to actually copy to the Canvas / WebGL when rendering,irrespective of the actual frame size or placement (which can be influenced by trimmed texture atlases) Inherited From PIXI.RenderTexture#crop Source code: pixi/textures/RenderTexture.js (Line 69)