Graphics.LineCap Enum

Module: cc

Enum for LineCap.

Index

  • BUTT
  • ROUND
  • SQUARE

Details

BUTT

The ends of lines are squared off at the endpoints.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/graphics/types.js:37
ROUND

The ends of lines are rounded.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/graphics/types.js:44
SQUARE

The ends of lines are squared off by adding a box with an equal width and half the height of the line's thickness.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/graphics/types.js:51

results matching ""

    No results matching ""