Graphics#drawRect()

drawRect(x, y, width, height) → {PIXI.Graphics}

Parameters
Name Type Description
x Number

The X coord of the top-left of the rectangle

y Number

The Y coord of the top-left of the rectangle

width Number

The width of the rectangle

height Number

The height of the rectangle

Returns
Inherited From
Source code: pixi/primitives/Graphics.js (Line 534)
doc_phaser
2017-02-14 10:49:53
Comments
Leave a Comment

Please login to continue.