[ static enum ] Cap
Class: Stroke.
Description:
Static enum for stroke cap styles.
Defines how the ends of open subpaths are drawn.
Type: number
Properties:
| Name | Description |
|---|---|
|
Flat end, no extension beyond the end point. |
|
Rounded end with a half-circle extension. |
|
Flat end extended by half the line width. |
Examples:
Stroke.Cap.Round
