Color.blendColorBurn()

<static> blendColorBurn(a, b) → {integer} Darkens the backdrop color to reflect the source color.Painting with white produces no change. Parameters Name Type Description a integer The source color to blend, in the range 1 to 255. b integer The backdrop color to blend, in the range 1 to 255. Returns integer - The blended color value, in the range 1 to 255. Source code: utils/Color.js (Line 1217)

Color.blendAverage()

<static> blendAverage(a, b) → {integer} Takes the average of the source and backdrop colors. Parameters Name Type Description a integer The source color to blend, in the range 1 to 255. b integer The backdrop color to blend, in the range 1 to 255. Returns integer - The blended color value, in the range 1 to 255. Source code: utils/Color.js (Line 1045)

Color.blendAdd()

<static> blendAdd(a, b) → {integer} Adds the source and backdrop colors together and returns the value, up to a maximum of 255. Parameters Name Type Description a integer The source color to blend, in the range 1 to 255. b integer The backdrop color to blend, in the range 1 to 255. Returns integer - The blended color value, in the range 1 to 255. Source code: utils/Color.js (Line 1058)

Color#Color

new Color() The Phaser.Color class is a set of static methods that assist in color manipulation and conversion. Source code: utils/Color.js (Line 12)

Circle.intersectsRectangle()

<static> intersectsRectangle(c, r) → {boolean} Checks if the given Circle and Rectangle objects intersect. Parameters Name Type Description c Phaser.Circle The Circle object to test. r Phaser.Rectangle The Rectangle object to test. Returns boolean - True if the two objects intersect, otherwise false. Source code: geom/Circle.js (Line 536)

Circle.intersects()

<static> intersects(a, b) → {boolean} Determines whether the two Circle objects intersect.This method checks the radius distances between the two Circle objects to see if they intersect. Parameters Name Type Description a Phaser.Circle The first Circle object. b Phaser.Circle The second Circle object. Returns boolean - A value of true if the specified object intersects with this Circle object; otherwise false. Source code: geom/Circle.js (Line 496)

Circle.equals()

<static> equals(a, b) → {boolean} Determines whether the two Circle objects match. This method compares the x, y and diameter properties. Parameters Name Type Description a Phaser.Circle The first Circle object. b Phaser.Circle The second Circle object. Returns boolean - A value of true if the object has exactly the same values for the x, y and diameter properties as this Circle object; otherwise false. Source code: geom/Circle.js (Line 483)

Circle.contains()

<static> contains(a, x, y) → {boolean} Return true if the given x/y coordinates are within the Circle object. Parameters Name Type Description a Phaser.Circle The Circle to be checked. x number The X value of the coordinate to test. y number The Y value of the coordinate to test. Returns boolean - True if the coordinates are within this circle, otherwise false. Source code: geom/Circle.js (Line 458)

Circle.circumferencePoint()

<static> circumferencePoint(a, angle, asDegrees, out) → {Phaser.Point} Returns a Point object containing the coordinates of a point on the circumference of the Circle based on the given angle. Parameters Name Type Argument Default Description a Phaser.Circle The first Circle object. angle number The angle in radians (unless asDegrees is true) to return the point from. asDegrees boolean <optional> false Is the given angle in radians (false) or degrees (true)? out

Circle#y

y : number The y coordinate of the center of the circle. Source code: geom/Circle.js (Line 31)