NSLayoutManager.AttachmentSizeForGlyphAtIndex(nuint) 方法

定义

与指定索引处的字形关联的附件单元格的大小

[Foundation.Export("attachmentSizeForGlyphAtIndex:")]
public virtual CoreGraphics.CGSize AttachmentSizeForGlyphAtIndex (nuint glyphIndex);
abstract member AttachmentSizeForGlyphAtIndex : nuint -> CoreGraphics.CGSize
override this.AttachmentSizeForGlyphAtIndex : nuint -> CoreGraphics.CGSize

参数

glyphIndex
System.System.UIntPtr System.unativeint

返回

位于 的字形 glyphIndex处的附件单元格的大小。 如果指定字形处没有附件,则返回 {-1.0f, -1.0f}。

属性

适用于