Share via


NSLayoutManager.GetGlyphIndex Method

Definition

Overloads

Name Description
GetGlyphIndex(CGPoint, NSTextContainer, NFloat)

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

GetGlyphIndex(UIntPtr)

The glyph index for the character at the specified index.

GetGlyphIndex(CGPoint, NSTextContainer)

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

GetGlyphIndex(CGPoint, NSTextContainer, NFloat)

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

[Foundation.Export("glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr GetGlyphIndex(CoreGraphics.CGPoint point, UIKit.NSTextContainer container, out System.Runtime.InteropServices.NFloat fractionOfDistanceThroughGlyph);
[<Foundation.Export("glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyphIndex : CoreGraphics.CGPoint * UIKit.NSTextContainer * NFloat -> unativeint
override this.GetGlyphIndex : CoreGraphics.CGPoint * UIKit.NSTextContainer * NFloat -> unativeint

Parameters

point
CGPoint
container
NSTextContainer
fractionOfDistanceThroughGlyph
NFloat

Returns

UIntPtr

unativeint

Attributes

Applies to

GetGlyphIndex(UIntPtr)

The glyph index for the character at the specified index.

[Foundation.Export("glyphIndexForCharacterAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr GetGlyphIndex(UIntPtr characterIndex);
[<Foundation.Export("glyphIndexForCharacterAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyphIndex : unativeint -> unativeint
override this.GetGlyphIndex : unativeint -> unativeint

Parameters

characterIndex
UIntPtr

unativeint

Returns

UIntPtr

unativeint

Attributes

Applies to

GetGlyphIndex(CGPoint, NSTextContainer)

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

[Foundation.Export("glyphIndexForPoint:inTextContainer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr GetGlyphIndex(CoreGraphics.CGPoint point, UIKit.NSTextContainer container);
[<Foundation.Export("glyphIndexForPoint:inTextContainer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyphIndex : CoreGraphics.CGPoint * UIKit.NSTextContainer -> unativeint
override this.GetGlyphIndex : CoreGraphics.CGPoint * UIKit.NSTextContainer -> unativeint

Parameters

point
CGPoint
container
NSTextContainer

Returns

UIntPtr

unativeint

Attributes

Remarks

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

Applies to