Class cc.Scale9Sprite#ctor
- Defined in: CCScale9Sprite.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
cc.Scale9Sprite#ctor(file, rect, capInsets)
|
Class Detail
cc.Scale9Sprite#ctor(file, rect, capInsets)
- Parameters:
- {string|cc.SpriteFrame} file
- file name of texture or a SpriteFrame
- {cc.Rect} rect
- {cc.Rect} capInsets
- Returns:
- {Scale9Sprite}