Class cc.Rect
cc.Rect
- Defined in: CCGeometry.js
Constructor Attributes | Constructor Name and Description |
---|---|
cc.Rect(x, y, width, height)
cc.Rect is the class for rect object, please do not use its constructor to create rects, use cc.rect() alias function instead.
|
Class Detail
cc.Rect(x, y, width, height)
cc.Rect is the class for rect object, please do not use its constructor to create rects, use cc.rect() alias function instead.
- Parameters:
- {Number} x
- {Number} y
- {Number} width
- {Number} height
- See:
- cc.rect
Field Detail
{Number}
height
{Number}
width
{Number}
x
{Number}
y