Sprite.Type
Enum
Module: cc
Enum for sprite type.
Index
SIMPLE
SLICED
TILED
FILLED
Details
SIMPLE
The simple type.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCSprite.js:36 |
SLICED
The sliced type.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCSprite.js:41 |
TILED
The tiled type.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCSprite.js:46 |
FILLED
The filled type.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCSprite.js:51 |