Structure

CATextLayerTruncationMode

No overview available.

Declaration

struct CATextLayerTruncationMode

Topics

Type Properties

static let end: CATextLayerTruncationMode

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

static let middle: CATextLayerTruncationMode

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.

static let none: CATextLayerTruncationMode

If the isWrapped property is true, the text is wrapped to the receiver’s bounds, otherwise the text is clipped to the receiver’s bounds.

static let start: CATextLayerTruncationMode

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software