Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.0
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.1
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
The type for mask.
Index
Enumeration members
ELLIPSE
GRAPHICS_
STENCIL
IMAGE_
STENCIL
RECT
Enumeration members
ELLIPSE
ELLIPSE
:
= 1
Ellipse Mask.
GRAPHICS_
STENCIL
GRAPHICS_
STENCIL
:
= 2
Graphics Mask.
IMAGE_
STENCIL
IMAGE_
STENCIL
:
= 3
SpriteFrame Mask.
RECT
RECT
:
= 0
Rect mask.
Globals
ui
Mask
Type
ELLIPSE
GRAPHICS_
STENCIL
IMAGE_
STENCIL
RECT
Generated using
TypeDoc
The type for mask.