Instance Property

tailIndent

The trailing indentation of the receiver.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
@property(readonly, nonatomic) CGFloat tailIndent;
macOS
@property(readonly) CGFloat tailIndent;

Discussion

If positive, this value is the distance from the leading margin (for example, the left margin in left-to-right text). If 0 or negative, it’s the distance from the trailing margin.

For example, a paragraph style designed to fit exactly in a 2-inch wide container has a head indent of 0.0 and a tail indent of 0.0. One designed to fit with a quarter-inch margin has a head indent of 0.25 and a tail indent of –0.25.

See Also

Accessing Style Information

alignment

The text alignment of the receiver.

firstLineHeadIndent

The indentation of the first line of the receiver.

headIndent

The indentation of the receiver’s lines other than the first.

lineHeightMultiple

The line height multiple.

maximumLineHeight

The receiver’s maximum line height.

minimumLineHeight

The receiver’s minimum height.

lineSpacing

The distance in points between the bottom of one line fragment and the top of the next.

paragraphSpacing

The space after the end of the paragraph.

paragraphSpacingBefore

The distance between the paragraph’s top and the beginning of its text content.