次の方法で共有


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} を返します。

属性

適用対象