Phaser API Documentation

name type arguments Default description
visible boolean <optional> true

Should this constraint be rendered by the Debug Renderer?

anchors boolean <optional> true

If this constraint has anchors, should they be rendered? Pin constraints never have anchors.

lineColor number <optional>

The color value of the line stroke when rendering this constraint.

lineOpacity number <optional>

The opacity of the line when rendering this constraint, a value between 0 and 1.

lineThickness number <optional>

If rendering lines, the thickness of the line.

pinSize number <optional> 4

The size of the circles drawn when rendering pin constraints.

anchorSize number <optional> 4

The size of the circles drawn as the constraint anchors.

anchorColor number <optional> 0xefefef

The color value of constraint anchors.