Cocos Creator API

1.3.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Graphics.LineCap

: cc

Enum for LineCap.

BUTT Number

The ends of lines are squared off at the endpoints.

ROUND Number

The ends of lines are rounded.

SQUARE Number

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

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index