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)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.