NSLayoutManager.AttachmentSizeForGlyphAtIndex(nuint) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
與指定索引處圖像相關聯的附件儲存格大小
[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}。
- 屬性