Utils.Debug#lineInfo()

lineInfo(line, x, y, color)

Renders Line information in the given color.

Parameters
Name Type Argument Default Description
line Phaser.Line

The Line to display the data for.

x number

X position of the debug info to be rendered.

y number

Y position of the debug info to be rendered.

color string <optional>
'rgb(255,255,255)'

color of the debug info to be rendered. (format is css color string).

Source code: utils/Debug.js (Line 541)
doc_phaser
2017-02-14 11:19:11
Comments
Leave a Comment

Please login to continue.