RenderTexture#clear()

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

RenderTexture#baseTexture

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

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)

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

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.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.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.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.intersection()

<static> intersection(a, b, output) → {Phaser.Rectangle} If the Rectangle object specified in the toIntersect parameter intersects with this Rectangle object, returns the area of intersection as a Rectangle object. If the Rectangles do not intersect, this method returns an empty Rectangle object with its properties set to 0. Parameters Name Type Argument Description a Phaser.Rectangle The first Rectangle object. b Phaser.Rectangle The second Rectangle object. output Phaser.Re

Rectangle.inflatePoint()

<static> inflatePoint(a, point) → {Phaser.Rectangle} Increases the size of the Rectangle object. This method is similar to the Rectangle.inflate() method except it takes a Point object as a parameter. Parameters Name Type Description a Phaser.Rectangle The Rectangle object. point Phaser.Point The x property of this Point object is used to increase the horizontal dimension of the Rectangle object. The y property is used to increase the vertical dimension of the Rectangle object.