NSLayoutManager.CharacterIndexForPoint 方法

定义

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

参数

point
CGPoint
container
NSTextContainer
fractionOfDistanceBetweenInsertionPoints
nfloat

返回

System.System.UIntPtr System.unativeint
属性

适用于