Sprite.FillType
枚举
模块: cc
填充类型
索引
HORIZONTAL
VERTICAL
RADIAL
Details
HORIZONTAL
水平方向填充
meta | description |
---|---|
类型 | Number |
定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCSprite.js:63 |
VERTICAL
垂直方向填充
meta | description |
---|---|
类型 | Number |
定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCSprite.js:68 |
RADIAL
径向填充
meta | description |
---|---|
类型 | Number |
定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCSprite.js:73 |