Physics.Ninja.Circle#render()

render(context, xOffset, yOffset, color, filled)

Render this circle for debugging purposes.

Parameters
Name Type Description
context object

The context to render to.

xOffset number

X offset from circle's position to render at.

yOffset number

Y offset from circle's position to render at.

color string

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

filled boolean

Render the shape as solid (true) or hollow (false).

Source code: physics/ninja/Circle.js (Line 2622)
doc_phaser
2017-02-14 11:00:35
Comments
Leave a Comment

Please login to continue.