求教一下UIImageView 的setTextureRect的问题

求教一下UIImageView 的setTextureRect的问题
UIImageView* star1 =(UIImageView*)ability_ui->getWidgetByName(\“star_empty1\”);
star1->setTextureRect(CCRectMake(0,0,27/2,25/2));
![](file:///C:\\Users\\kk4\\AppData\\Roaming\\Tencent\\Users\\349469547\\QQ\\WinTemp\\RichOle\\LD9`E~(TW)5U0S79N23EYBO.jpg)

我这么设置显示区域对么 为什么截出来的总是黑的呢
!KI6DQ0OBF.jpg)
下面是效果图

楼主,你的图丢了哦~重新编辑下吧