Share via


NSLayoutManager.GetGlyph Method

Definition

Overloads

Name Description
GetGlyph(UIntPtr)

Retrieves the glyph at glyphIndex.

GetGlyph(UIntPtr, Boolean)

Retrieves the glyph as glyphIndex, setting isValidIndex to true if the index is valid.

GetGlyph(UIntPtr)

Retrieves the glyph at glyphIndex.

[Foundation.Export("CGGlyphAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ushort GetGlyph(UIntPtr glyphIndex);
[<Foundation.Export("CGGlyphAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyph : unativeint -> uint16
override this.GetGlyph : unativeint -> uint16

Parameters

glyphIndex
UIntPtr

unativeint

Returns

Attributes

Remarks

Calling this method generates all glyphs up to and including the glyph at glyphIndex.

Applies to

GetGlyph(UIntPtr, Boolean)

Retrieves the glyph as glyphIndex, setting isValidIndex to true if the index is valid.

[Foundation.Export("CGGlyphAtIndex:isValidIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ushort GetGlyph(UIntPtr glyphIndex, out bool isValidIndex);
[<Foundation.Export("CGGlyphAtIndex:isValidIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyph : unativeint * bool -> uint16
override this.GetGlyph : unativeint * bool -> uint16

Parameters

glyphIndex
UIntPtr

unativeint

isValidIndex
Boolean

Returns

Attributes

Applies to