編輯

共用方式為


NSLayoutManager.CharacterIndexForGlyphAtIndex(nuint) Method

Definition

The index of the first character associated with the glyph at the specified index.

[Foundation.Export("characterIndexForGlyphAtIndex:")]
public virtual nuint CharacterIndexForGlyphAtIndex (nuint glyphIndex);
abstract member CharacterIndexForGlyphAtIndex : nuint -> nuint
override this.CharacterIndexForGlyphAtIndex : nuint -> nuint

Parameters

glyphIndex
System.System.UIntPtr System.unativeint

Returns

System.System.UIntPtr System.unativeint
Attributes

Remarks

If AllowsNonContiguousLayout is false, calling this method will result in generating all glyphs up to and including glyphIndex.

Applies to