Skip to content

API Reference / @gtkx/cairo / LineCap

Enumeration: LineCap

Defined in: enums.d.ts:12

How the ends of a stroked line are rendered.

Enumeration Members

BUTT

BUTT: 0

Defined in: enums.d.ts:241

Starts and stops the line exactly at the start and end points.


ROUND

ROUND: 1

Defined in: enums.d.ts:243

Uses a round ending centered on the end point.


SQUARE

SQUARE: 2

Defined in: enums.d.ts:245

Uses a squared ending extending past the end point.

Released under the MPL-2.0 License.