NSLayoutManager.GetGlyph Method

Definition

Overloads

GetGlyph(nuint)

Retrieves the glyph at .

GetGlyph(nuint, Boolean)

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

GetGlyph(nuint)

Retrieves the glyph at .

[Foundation.Export("CGGlyphAtIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual ushort GetGlyph (nuint glyphIndex);
abstract member GetGlyph : nuint -> uint16
override this.GetGlyph : nuint -> uint16

Parameters

glyphIndex
System.System.UIntPtr System.unativeint

Returns

Attributes

Remarks

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

Applies to

GetGlyph(nuint, Boolean)

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

[Foundation.Export("CGGlyphAtIndex:isValidIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual ushort GetGlyph (nuint glyphIndex, ref bool isValidIndex);
abstract member GetGlyph : nuint *  -> uint16
override this.GetGlyph : nuint *  -> uint16

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
isValidIndex
Boolean

Returns

Attributes

Applies to