Line#perpSlope
  • References/Game Development/Phaser/Geometry/Line

[readonly] perpSlope : number Gets the perpendicular slope of the line (x/y).

2025-01-10 15:47:30
Line#bottom
  • References/Game Development/Phaser/Geometry/Line

[readonly] bottom : number Gets the bottom-most point of this line.

2025-01-10 15:47:30
Line#pointOnLine()
  • References/Game Development/Phaser/Geometry/Line

pointOnLine(x, y) → {boolean} Tests if the given coordinates fall on this line. See pointOnSegment

2025-01-10 15:47:30
Line#end
  • References/Game Development/Phaser/Geometry/Line

end : Phaser.Point The end point of the line.

2025-01-10 15:47:30
Line.intersectsPoints()
  • References/Game Development/Phaser/Geometry/Line

<static> intersectsPoints(a, b, e, f, asSegment, result)

2025-01-10 15:47:30
Line#y
  • References/Game Development/Phaser/Geometry/Line

[readonly] y : number Gets the y coordinate of the top left of the bounds around this line

2025-01-10 15:47:30
Line#angle
  • References/Game Development/Phaser/Geometry/Line

[readonly] angle : number Gets the angle of the line in radians.

2025-01-10 15:47:30
Line.reflect()
  • References/Game Development/Phaser/Geometry/Line

<static> reflect(a, b) → {number} Returns the reflected

2025-01-10 15:47:30
Line#fromAngle()
  • References/Game Development/Phaser/Geometry/Line

fromAngle(x, y, angle, length) → {Phaser.Line}

2025-01-10 15:47:30
Line#height
  • References/Game Development/Phaser/Geometry/Line

[readonly] height : number Gets the height of this bounds of this line.

2025-01-10 15:47:30