Calculates and draws strikethrough for the specified glyphs.
- iOS 7.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- 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 Index: effective Range:
The style of underlining to draw. This value is a mask derived from the value for
Style Attribute Name
(NSUnderline. Subclasses can define custom underlining styles.
Pattern Dash | NSUnderline Style Thick | NSUnderline By Word Mask)
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 determines which glyphs actually need to have a strikethrough drawn based on
strikethrough. After determining which glyphs to draw strikethrough on, this method invokes
draw for each contiguous range of glyphs that requires it.