Instance Property

paragraphSpacingBefore

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

Declaration

var paragraphSpacingBefore: CGFloat { get }

Discussion

This property contains the space (measured in points) between the paragraph’s top and the beginning of its text content. The default value of this property is 0.0.

See Also

Accessing Style Information

var alignment: NSTextAlignment

The text alignment of the receiver.

var firstLineHeadIndent: CGFloat

The indentation of the first line of the receiver.

var headIndent: CGFloat

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

var tailIndent: CGFloat

The trailing indentation of the receiver.

var lineHeightMultiple: CGFloat

The line height multiple.

var maximumLineHeight: CGFloat

The receiver’s maximum line height.

var minimumLineHeight: CGFloat

The receiver’s minimum height.

var lineSpacing: CGFloat

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

var paragraphSpacing: CGFloat

The space after the end of the paragraph.

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