Projects > cpp > Issues > Refactor #3383

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

CCNode's setContentSize supports two types parameter

Refactor #3383 [Closed]
ludingping 2013-12-13 07:26 . Updated about 2 years ago

Benefit:
1. Easy to use, for example:
aNode~~>setContentSize; //It is easier than aNode~~>setContentSize(Size(100,200));

  1. Better performance for Cocos2d-Html5, because it needn’t create a cc.Size object.
walzer@cocos2d-x.org 2014-10-08 02:57

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8282

Atom PDF

Status:Closed
Start date:2013-12-13
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.