Edytuj

Udostępnij za pośrednictwem


NSLayoutManager.DrawBackgroundForGlyphRange(NSRange, CGPoint) Method

Definition

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.

Applies to