Mask.Type
枚举
模块: cc
遮罩组件类型
索引
RECT
ELLIPSE
IMAGE_STENCIL
Details
RECT
使用矩形作为遮罩
meta | description |
---|---|
类型 | Number |
定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCMask.js:43 |
ELLIPSE
使用椭圆作为遮罩
meta | description |
---|---|
类型 | Number |
定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCMask.js:49 |
IMAGE_STENCIL
使用图像模版作为遮罩
meta | description |
---|---|
类型 | Number |
定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCMask.js:55 |