| 167 | } |
| 168 | |
| 169 | bool Scale9Sprite::initWithSpriteFrameName(std::string_view spriteFrameName, const Rect& capInsets) |
| 170 | { |
| 171 | // calls super |
| 172 | bool ret = Sprite::initWithSpriteFrameName(spriteFrameName); |
| 173 | setupSlice9(getTexture(), capInsets); |
| 174 | return ret; |
| 175 | } |
| 176 | |
| 177 | bool Scale9Sprite::initWithSpriteFrameName(std::string_view spriteFrameName) |
| 178 | { |
no test coverage detected