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