Contents

strikethroughStyle

The strikethrough style of the text.

Declaration

static let strikethroughStyle: NSAttributedString.Key

Discussion

The value of this attribute is an NSNumber object containing an integer. This value indicates whether the text has a line through it and corresponds to one of the constants described in NSUnderlineStyle. The default value for this attribute is NSUnderlineStyleNone.

See Also

Getting rendering attribute keys