| 159 | } |
| 160 | |
| 161 | bool Scale9Sprite::initWithSpriteFrame(SpriteFrame* spriteFrame, const Rect& capInsets) |
| 162 | { |
| 163 | // calls super |
| 164 | bool ret = Sprite::initWithSpriteFrame(spriteFrame); |
| 165 | setupSlice9(getTexture(), capInsets); |
| 166 | return ret; |
| 167 | } |
| 168 | |
| 169 | bool Scale9Sprite::initWithSpriteFrameName(std::string_view spriteFrameName, const Rect& capInsets) |
| 170 | { |
no test coverage detected