NSLayoutManager.BoundingRectForGlyphRange(NSRange, NSTextContainer) Method

Definition

The bounding rectangle, in container coordinates, for the glyphs in the specified range.

[Foundation.Export("boundingRectForGlyphRange:inTextContainer:")]
public virtual CoreGraphics.CGRect BoundingRectForGlyphRange (Foundation.NSRange glyphRange, UIKit.NSTextContainer container);
abstract member BoundingRectForGlyphRange : Foundation.NSRange * UIKit.NSTextContainer -> CoreGraphics.CGRect
override this.BoundingRectForGlyphRange : Foundation.NSRange * UIKit.NSTextContainer -> CoreGraphics.CGRect

Parameters

glyphRange
NSRange
container
NSTextContainer

Returns

Attributes

Remarks

The returned RectangleF includes the area needed for all marks associated with the glyphs, including the area needed for glyphs that draw outside of their line fragment rectangle and for marks such as underlining.

Applies to