Instance Property

paragraphSpacing

The space after the end of the paragraph.

Declaration

var paragraphSpacing: CGFloat { get set }

Discussion

This property contains the space (measured in points) added at the end of the paragraph to separate it from the following paragraph. This value must be nonnegative. The space between paragraphs is determined by adding the previous paragraph’s paragraphSpacing and the current paragraph’s paragraphSpacingBefore.

See Also

Setting other style information

func setParagraphStyle(NSParagraphStyle)

Replaces the subattributes of the receiver with those in the specified paragraph style object.

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 lineBreakMode: NSLineBreakMode

The mode that should be used to break lines in the receiver.

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 paragraphSpacingBefore: CGFloat

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

var baseWritingDirection: NSWritingDirection

The base writing direction for the receiver.

var lineHeightMultiple: CGFloat

The line height multiple.