arcade-physics
Version:
Use Arcade Physics without Phaser.
14 lines • 571 B
TypeScript
export default PointToLineSegment;
/**
* Checks if a Point is located on the given line segment.
*
* @function Phaser.Geom.Intersects.PointToLineSegment
* @since 3.0.0
*
* @param {Phaser.Geom.Point} point - The Point to check for intersection.
* @param {Phaser.Geom.Line} line - The line segment to check for intersection.
*
* @return {boolean} `true` if the Point is on the given line segment, otherwise `false`.
*/
declare function PointToLineSegment(point: Phaser.Geom.Point, line: Phaser.Geom.Line): boolean;
//# sourceMappingURL=PointToLineSegment.d.ts.map