Class: Graphics

Phaser. Graphics

Phaser.Graphics

new Graphics(game, x, y)

Creates a new Graphics object.

Parameters:
Name Type Description
game Phaser.Game

Current game instance.

x number

X position of the new graphics object.

y number

Y position of the new graphics object.

Source:

Members

type

Properties:
Name Type Description
type number

The Phaser Object Type.

Source:
Phaser Copyright © 2012-2014 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-dev on Sat Feb 08 2014 07:19:46 GMT-0000 (GMT) using the DocStrap template.