Share via


NSLayoutManager.GetFractionOfDistanceThroughGlyph Method

Definition

Developers should call GetGlyphIndex(CGPoint, NSTextContainer) rather than this primitive function.

[Foundation.Export("fractionOfDistanceThroughGlyphForPoint:inTextContainer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Runtime.InteropServices.NFloat GetFractionOfDistanceThroughGlyph(CoreGraphics.CGPoint point, AppKit.NSTextContainer container);
[<Foundation.Export("fractionOfDistanceThroughGlyphForPoint:inTextContainer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetFractionOfDistanceThroughGlyph : CoreGraphics.CGPoint * AppKit.NSTextContainer -> System.Runtime.InteropServices.NFloat
override this.GetFractionOfDistanceThroughGlyph : CoreGraphics.CGPoint * AppKit.NSTextContainer -> System.Runtime.InteropServices.NFloat

Parameters

point
CGPoint
container
NSTextContainer

Returns

Attributes

Remarks

This method is public for overriding purposes but is not intended for developers to call.

Applies to