Share via


NSLayoutManager.GetLocationForGlyph(UIntPtr) Method

Definition

The location of the glyph at the specified index, relative to the containing line fragment's origin.

[Foundation.Export("locationForGlyphAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGPoint GetLocationForGlyph(UIntPtr glyphIndex);
[<Foundation.Export("locationForGlyphAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLocationForGlyph : unativeint -> CoreGraphics.CGPoint
override this.GetLocationForGlyph : unativeint -> CoreGraphics.CGPoint

Parameters

glyphIndex
UIntPtr

unativeint

Returns

Attributes

Remarks

This method will layout and generate glyphs for the line fragment containing the glyph at glyphIndex.

Applies to