<!--
{
  "documentType" : "article",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/truncation-modes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Truncation modes"
}
-->

# Truncation modes

These constants are used by the [`truncationMode`](/documentation/QuartzCore/CATextLayer/truncationMode) property.

## Topics

### Constants

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

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

[`start`](/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.

[`end`](/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.

[`middle`](/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.



---

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)