Graphics.LineJoin
Enum
Module: cc
Enum for LineJoin.
Index
BEVEL
ROUND
MITER
Details
BEVEL
Fills an additional triangular area between the common endpoint of connected segments, and the separate outside rectangular corners of each segment.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/graphics/types.js:65 |
ROUND
Rounds off the corners of a shape by filling an additional sector of disc centered at the common endpoint of connected segments. The radius for these rounded corners is equal to the line width.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/graphics/types.js:72 |
MITER
Connected segments are joined by extending their outside edges to connect at a single point, with the effect of filling an additional lozenge-shaped area.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/graphics/types.js:79 |