Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ui
MaskType
Enumeration MaskType
遮罩组件类型。
Index
Enumeration members
ELLIPSE
GRAPHICS_
STENCIL
IMAGE_
STENCIL
RECT
Enumeration members
ELLIPSE
ELLIPSE
:
= 1
使用椭圆作为遮罩。
GRAPHICS_
STENCIL
GRAPHICS_
STENCIL
:
= 2
使用图像模版作为遮罩。
IMAGE_
STENCIL
IMAGE_
STENCIL
:
= 3
使用图片模版作为遮罩。
RECT
RECT
:
= 0
使用矩形作为遮罩。
Globals
ui
Mask
Type
ELLIPSE
GRAPHICS_
STENCIL
IMAGE_
STENCIL
RECT
Generated using
TypeDoc
遮罩组件类型。