Share via


NSLayoutManager.GetGlyph Método

Definición

Sobrecargas

GetGlyph(nuint)

Recupera el glifo en .

GetGlyph(nuint, Boolean)

Recupera el glifo como , estableciendo en true si el índice es válido.

GetGlyph(nuint)

Recupera el glifo en .

[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

Parámetros

glyphIndex
System.System.UIntPtr System.unativeint

Devoluciones

Atributos

Comentarios

Al llamar a este método, se generan todos los glifos hasta y se incluye el glifo en .

Se aplica a

GetGlyph(nuint, Boolean)

Recupera el glifo como , estableciendo en true si el índice es válido.

[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

Parámetros

glyphIndex
System.System.UIntPtr System.unativeint
isValidIndex
Boolean

Devoluciones

Atributos

Se aplica a