I am unable to find a way to get round cornered rectangle in cocos2d android.I am writing the code here.
CCSprite backGround=CCSprite.sprite("settings_bg.jpg");
backGround.setTextureRect(CGRect.make(0, 0, 350*Define.SCALE_X, 350*Define.SCALE_Y), false);
backGround.setColor(ccColor3B.ccc3(60, 60, 60));
backGround.setOpacity(128);
backGround.setPosition(CGPoint.ccp(s.width/2, s.height/2));
Here i am creating the rectangle.But i am not getting a way to get round cornered rectangle.I have searched on internet so much time but unable to find.please help me.