NSLayoutManager.GetGlyphIndex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetGlyphIndex(CGPoint, NSTextContainer, NFloat) |
The glyph index for the glyph at |
| 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
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
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
unativeint
- Attributes
Remarks
This method is public for overriding purposes. Developers should call GetGlyphIndex(CGPoint, NSTextContainer, NFloat) rather than this primitive method.