offsetPoint(point) → {Phaser.Rectangle}
Adjusts the location of the Rectangle object using a Point object as a parameter. This method is similar to the Rectangle.offset() method, except that it takes a Point object as a parameter.
Parameters
Name | Type | Description |
---|---|---|
point | Phaser.Point | A Point object to use to offset this Rectangle object. |
Returns
This Rectangle object.
- Source code: geom/Rectangle.js (Line 71)
Please login to continue.