共用方式為


NSLayoutManager.GlyphIndexForPointInTextContainer 方法

定義

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

參數

point
CGPoint
container
NSTextContainer
fractionOfDistanceThroughGlyph
nfloat

傳回

System.System.UIntPtr System.unativeint
屬性

適用於