共用方式為


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}。

屬性

適用於