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:45 |
SLICED
The sliced type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:51 |
TILED
The tiled type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:57 |
FILLED
The filled type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:63 |
MESH
The mesh type.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:69 |