Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Line

<static> Height(line)

Description:

Calculate the height of the given line.

Parameters:

name type description
line Phaser.Geom.Line

The line to calculate the height of.

Returns:
Description:

The height of the line.

Type:
  • number
Since: 3.0.0
Source: src/geom/line/Height.js (Line 7)