---
title: CGLineCap.butt
framework: coregraphics
role: symbol
role_heading: Case
path: coregraphics/cglinecap/butt
---

# CGLineCap.butt

A line with a squared-off end. Core Graphics draws the line to extend only to the exact endpoint of the path. This is the default.

## Declaration

```swift
case butt
```

## See Also

### Constants

- [CGLineCap.round](coregraphics/cglinecap/round.md)
- [CGLineCap.square](coregraphics/cglinecap/square.md)
