API Reference / @gtkx/cairo / LineCap
Enumeration: LineCap
Defined in: packages/cairo/src/enums.ts:12
How the ends of a stroked line are rendered.
Enumeration Members
BUTT
BUTT:
0
Defined in: packages/cairo/src/enums.ts:253
Starts and stops the line exactly at the start and end points.
ROUND
ROUND:
1
Defined in: packages/cairo/src/enums.ts:255
Uses a round ending centered on the end point.
SQUARE
SQUARE:
2
Defined in: packages/cairo/src/enums.ts:257
Uses a squared ending extending past the end point.