---
title: CTLineTruncationType
framework: coretext
role: symbol
role_heading: Enumeration
path: coretext/ctlinetruncationtype
---

# CTLineTruncationType

Truncation types required by the CTLineCreateTruncatedLine(_:_:_:_:) function to tell the truncation engine which type of truncation is being requested.

## Declaration

```swift
enum CTLineTruncationType
```

## Topics

### Constants

- [CTLineTruncationType.start](coretext/ctlinetruncationtype/start.md)
- [CTLineTruncationType.end](coretext/ctlinetruncationtype/end.md)
- [CTLineTruncationType.middle](coretext/ctlinetruncationtype/middle.md)

### Initializers

- [init(rawValue:)](coretext/ctlinetruncationtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
