<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CATextLayerTruncationMode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:@T@CATextLayerTruncationMode"
  },
  "title" : "CATextLayerTruncationMode"
}
-->

# CATextLayerTruncationMode

```
struct CATextLayerTruncationMode
```

## Topics

### Initializers

[`init(rawValue:)`](/documentation/QuartzCore/CATextLayerTruncationMode/init(rawValue:))

### Type Properties

[`kCATruncationEnd`](/documentation/QuartzCore/CATextLayerTruncationMode/end)

Each line is displayed so that the beginning fits in the container and the missing text is indicated by some kind of ellipsis glyph.

[`kCATruncationMiddle`](/documentation/QuartzCore/CATextLayerTruncationMode/middle)

Each line is displayed so that the beginning and end fit in the container and the missing text is indicated by some kind of ellipsis glyph in the middle.

[`kCATruncationNone`](/documentation/QuartzCore/CATextLayerTruncationMode/none)

Each line is displayed so that the text is either wrapped or clipped.

[`kCATruncationStart`](/documentation/QuartzCore/CATextLayerTruncationMode/start)

Each line is displayed so that the end fits in the container and the missing text is indicated by some kind of ellipsis glyph.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)