Draws underlining for the glyphs in a given range.
- iOS 7.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
A range of glyphs, which must belong to a single line fragment rectangle (as returned by
Fragment Rect(for Glyph At: effective Range:)
The style of underlining to draw. This value is a mask derived from the value for
(NSUnderline. Subclasses can define custom underlining styles.
Pattern Dash | NSUnderline Style Thick)
Specifies the distance from the bottom of the bounding box of the specified glyphs in the specified range to their baseline.
The line fragment rectangle containing the glyphs to draw underlining for.
The range of all glyphs within
The origin of the
This method is invoked automatically by
underline; you should rarely need to invoke it directly. This method’s
underline parameter does not take account of any setting for
NSUnderline because that's taken care of by