NSParagraphStyle

class NSParagraphStyle

The paragraph or ruler attributes used by an attributed string.

  • property documentation (update this)

    Declaration

    var lineSpacing: Double { get }
  • property documentation (update this)

    Declaration

    var paragraphSpacing: Double { get }
  • property documentation (update this)

    Declaration

    var alignment: String { get }
  • property documentation (update this)

    Declaration

    var headIndent: Double { get }
  • property documentation (update this)

    Declaration

    var tailIndent: Double { get }
  • property documentation (update this)

    Declaration

    var firstLineHeadIndent: Double { get }
  • property documentation (update this)

    Declaration

    var minimumLineHeight: Double { get }
  • property documentation (update this)

    Declaration

    var maximumLineHeight: Double { get }
  • property documentation (update this)

    Declaration

    var lineBreakMode: Double { get }
  • property documentation (update this)

    Declaration

    var baseWritingDirection: Double { get }
  • property documentation (update this)

    Declaration

    var lineHeightMultiple: Double { get }
  • property documentation (update this)

    Declaration

    var paragraphSpacingBefore: Double { get }
  • property documentation (update this)

    Declaration

    var hyphenationFactor: Double { get }
  • property documentation (update this)

    Declaration

    var tabStops: Array<NSTextTab> { get }
  • property documentation (update this)

    Declaration

    var defaultTabInterval: Double { get }
  • property documentation (update this)

    Declaration

    var allowsDefaultTighteningForTruncation: Bool { get }
  • property documentation (update this)

    Declaration

    var tighteningFactorForTruncation: Double { get }
  • property documentation (update this)

    Declaration

    var textBlocks: Array<NSTextBlock> { get }
  • property documentation (update this)

    Declaration

    var textLists: Array<NSTextList> { get }
  • property documentation (update this)

    Declaration

    var headerLevel: Double { get }
  • The object’s description

    Declaration

    var description: String { get }
  • Compares two values for equality.

    The equals function is invoked using infix notation as in the following code snippet: lhs == rhs.

    Declaration

    func equals(_ lhs: NSAttributedString) -> Bool

    Parameters

    lhs

    A value.

    rhs

    Another value.

    Return Value

    true if the lhs and rhs are equal, false otherwise.