Class cc.Rect

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.Rect(x1, y1, width1, height1)

Class Detail

cc.Rect(x1, y1, width1, height1)
Parameters:
{Number|cc.Point|cc.Rect} x1 Optional
a Number value as x or a cc.Point object as origin or a cc.Rect clone object
{Number|cc.Size} y1 Optional
x1 a Number value as y or a cc.Size object as size
{Number} width1 Optional
{Number} height1 Optional
Constructor