CCScale9Sprite * spt9 = CCScale9Sprite::create("1.png");
spt9->setPreferredSize(CCSize(300,200));//设置内部
spt9->setCapInsets(CCRect(4,4,10,10));//设置外部(左上角为原点)
CCScale9Sprite * spt9 = CCScale9Sprite::create("1.png");
spt9->setPreferredSize(CCSize(300,200));//设置内部
spt9->setCapInsets(CCRect(4,4,10,10));//设置外部(左上角为原点)