Sprite.Type
Enum
Module: cc
Enum for sprite type.
Index
SIMPLE
SLICED
TILED
FILLED
MESH
Details
SIMPLE
The simple type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:44 |
SLICED
The sliced type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:50 |
TILED
The tiled type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:56 |
FILLED
The filled type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:62 |
MESH
The mesh type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:68 |