Edit

Share via


NSLayoutManager.GetGlyph Method

Definition

Overloads

GetGlyph(nuint)

Retrieves the glyph at <param name="glyphIndex" />.

GetGlyph(nuint, Boolean)

Retrieves the glyph as <param name="glyphIndex" />, setting <param name="isValidIndex" /> to true if the index is valid.

GetGlyph(nuint)

Retrieves the glyph at <param name="glyphIndex" />.

[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 <param name="glyphIndex" />.

Applies to

GetGlyph(nuint, Boolean)

Retrieves the glyph as <param name="glyphIndex" />, setting <param name="isValidIndex" /> 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