# PenLineCap

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / PenLineCap

# Enumeration: PenLineCap

Describes the shape at the end of a line or segment.

## Enumeration Members

### Flat

> **Flat**: `0`

A cap that does not extend past the last point of the line.

***

### Round

> **Round**: `1`

A semicircle that has a diameter equal to the line thickness.

***

### Square

> **Square**: `2`

Half of a square that has a length equal to the line thickness.
