arcade-physics
Version:
Use Arcade Physics without Phaser.
17 lines • 784 B
TypeScript
export default PerimeterPoint;
/**
* Returns a Point from the perimeter of a Rectangle based on the given angle.
*
* @function Phaser.Geom.Rectangle.PerimeterPoint
* @since 3.0.0
*
* @generic {Phaser.Geom.Point} O - [out,$return]
*
* @param {Phaser.Geom.Rectangle} rectangle - The Rectangle to get the perimeter point from.
* @param {number} angle - The angle of the point, in degrees.
* @param {Phaser.Geom.Point} [out] - The Point object to store the position in. If not given, a new Point instance is created.
*
* @return {Phaser.Geom.Point} A Point object holding the coordinates of the Rectangle perimeter.
*/
declare function PerimeterPoint(rectangle: Phaser.Geom.Rectangle, angle: number, out?: any): Phaser.Geom.Point;
//# sourceMappingURL=PerimeterPoint.d.ts.map