Graphics.LineCap Enum

Module: cc Parent 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 cocos2d/core/graphics/types.js:38
ROUND

The ends of lines are rounded.

meta description
Type Number
Defined in cocos2d/core/graphics/types.js:45
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 cocos2d/core/graphics/types.js:52

results matching ""

    No results matching ""