NSLayoutManager.DrawBackgroundForGlyphRange(NSRange, CGPoint) 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.
Draws background marks for the given glyph range.
[Foundation.Export("drawBackgroundForGlyphRange:atPoint:")]
public virtual void DrawBackgroundForGlyphRange (Foundation.NSRange glyphsToShow, CoreGraphics.CGPoint origin);
abstract member DrawBackgroundForGlyphRange : Foundation.NSRange * CoreGraphics.CGPoint -> unit
override this.DrawBackgroundForGlyphRange : Foundation.NSRange * CoreGraphics.CGPoint -> unit
Parameters
- glyphsToShow
- NSRange
- origin
- CGPoint
- Attributes
Remarks
Background marks include text background color, highlighting, and table backgrounds and borders. Application developers can override this function in subclasses to fully customize background drawing.
glyphsToShow
must specify glyphs within a single NSTextContainer.