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