NSLayoutManager.DrawUnderline Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Underlines the glyphs in .
[Foundation.Export("drawUnderlineForGlyphRange:underlineType:baselineOffset:lineFragmentRect:lineFragmentGlyphRange:containerOrigin:")]
public virtual void DrawUnderline (Foundation.NSRange glyphRange, Foundation.NSUnderlineStyle underlineVal, nfloat baselineOffset, CoreGraphics.CGRect lineRect, Foundation.NSRange lineGlyphRange, CoreGraphics.CGPoint containerOrigin);
abstract member DrawUnderline : Foundation.NSRange * Foundation.NSUnderlineStyle * nfloat * CoreGraphics.CGRect * Foundation.NSRange * CoreGraphics.CGPoint -> unit
override this.DrawUnderline : Foundation.NSRange * Foundation.NSUnderlineStyle * nfloat * CoreGraphics.CGRect * Foundation.NSRange * CoreGraphics.CGPoint -> unit
Parameters
- glyphRange
- NSRange
The range of glyphs to be underlined.
- underlineVal
- NSUnderlineStyle
The drawing style of the underline.
- baselineOffset
- nfloat
The distance from the baseline to draw the underline.
- lineRect
- CGRect
The line fragment rectangle containing .
- lineGlyphRange
- NSRange
All glyphs within .
- containerOrigin
- CGPoint
The origin of the objects containing NSTextContainer.
- Attributes
Remarks
Developers should generally use the simpler Underline(NSRange, NSUnderlineStyle, CGRect, NSRange, CGPoint) method.