NSLayoutManager.LocationForGlyphAtIndex(nuint) 方法

定义

相对于包含行片段原点的指定索引处的字形位置。

[Foundation.Export("locationForGlyphAtIndex:")]
public virtual CoreGraphics.CGPoint LocationForGlyphAtIndex(nuint glyphIndex);
abstract member LocationForGlyphAtIndex : nuint -> CoreGraphics.CGPoint
override this.LocationForGlyphAtIndex : nuint -> CoreGraphics.CGPoint

参数

glyphIndex
System.System.UIntPtr System.unativeint

返回

属性

注解

此方法将为 包含字 glyphIndex形的行片段进行布局并生成字形。

适用于