Draws a strikethrough for the glyphs in a given range.
- iOS 7.0+
- macOS 10.3+
- tvOS 9.0+
The range of glyphs for which to draw a strikethrough. The range must belong to a single line fragment rectangle (as returned by
Fragment Rect(for Glyph At: effective Range:)
The style of strikethrough to draw. This value is a mask derived from the value for
(NSUnderline. Subclasses can define custom strikethrough styles.
Pattern Dash | NSUnderline Style Thick)
Indicates how far above the text baseline the underline should be drawn.
The line fragment rectangle containing the glyphs to draw strikethrough for.
The range of all glyphs within
The origin of the line fragment rectangle’s
This method is invoked automatically by
strikethrough; you should rarely need to invoke it directly. This method’s
strikethrough parameter does not take account of any setting for
NSUnderline because that's taken care of by