NSLayoutManager.GlyphIndexForPoint Method

Definition

Overloads

GlyphIndexForPoint(CGPoint, NSTextContainer)

Developers should call GlyphIndexForPoint(CGPoint, NSTextContainer, nfloat) rather than this primitive method.

GlyphIndexForPoint(CGPoint, NSTextContainer, nfloat)

The glyph index for the glyph at , in the object's coordinate system.

GlyphIndexForPoint(CGPoint, NSTextContainer)

Developers should call GlyphIndexForPoint(CGPoint, NSTextContainer, nfloat) rather than this primitive method.

[Foundation.Export("glyphIndexForPoint:inTextContainer:")]
public virtual nuint GlyphIndexForPoint (CoreGraphics.CGPoint point, UIKit.NSTextContainer container);
abstract member GlyphIndexForPoint : CoreGraphics.CGPoint * UIKit.NSTextContainer -> nuint
override this.GlyphIndexForPoint : CoreGraphics.CGPoint * UIKit.NSTextContainer -> nuint

Parameters

point
CGPoint
container
NSTextContainer

Returns

System.System.UIntPtr System.unativeint
Attributes

Remarks

This method is public for overriding purposes. Developers should call GlyphIndexForPoint(CGPoint, NSTextContainer, nfloat) rather than this primitive method.

Applies to

GlyphIndexForPoint(CGPoint, NSTextContainer, nfloat)

The glyph index for the glyph at , in the object's coordinate system.

[Foundation.Export("glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:")]
public virtual nuint GlyphIndexForPoint (CoreGraphics.CGPoint point, UIKit.NSTextContainer container, ref nfloat partialFraction);
abstract member GlyphIndexForPoint : CoreGraphics.CGPoint * UIKit.NSTextContainer *  -> nuint
override this.GlyphIndexForPoint : CoreGraphics.CGPoint * UIKit.NSTextContainer *  -> nuint

Parameters

point
CGPoint
container
NSTextContainer
partialFraction
nfloat

Returns

System.System.UIntPtr System.unativeint
Attributes

Applies to