Mask.Type Enum

Module: cc

the type for mask.

Index

  • RECT
  • ELLIPSE
  • IMAGE_STENCIL

Details

RECT

Rect mask.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCMask.js:43
ELLIPSE

Ellipse Mask.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCMask.js:49
IMAGE_STENCIL

Image Stencil Mask.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCMask.js:55

results matching ""

    No results matching ""