次の方法で共有


NSLayoutManager.LineFragmentRectForGlyphAtIndex メソッド

定義

オーバーロード

LineFragmentRectForGlyphAtIndex(nuint, NSRange)
古い.

のグリフがレイアウトされている行フラグメントの四角形を返します。

LineFragmentRectForGlyphAtIndex(nuint)
古い.

指定したグリフがレイアウトされる行フラグメントを囲む RectangleF。

LineFragmentRectForGlyphAtIndex(nuint, NSRange)

注意事項

Use 'GetLineFragmentRect' instead.

のグリフがレイアウトされている行フラグメントの四角形を返します。

[System.Obsolete("Use 'GetLineFragmentRect' instead.")]
public CoreGraphics.CGRect LineFragmentRectForGlyphAtIndex (nuint glyphIndex, ref Foundation.NSRange effectiveGlyphRange);
member this.LineFragmentRectForGlyphAtIndex : nuint *  -> CoreGraphics.CGRect

パラメーター

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
NSRange

戻り時に、返された行フラグメント内のグリフの範囲全体が塗りつぶされます。

戻り値

属性

適用対象

LineFragmentRectForGlyphAtIndex(nuint)

注意事項

Use 'GetLineFragmentRect' instead.

指定したグリフがレイアウトされる行フラグメントを囲む RectangleF。

[System.Obsolete("Use 'GetLineFragmentRect' instead.")]
public CoreGraphics.CGRect LineFragmentRectForGlyphAtIndex (nuint glyphIndex);
member this.LineFragmentRectForGlyphAtIndex : nuint -> CoreGraphics.CGRect

パラメーター

glyphIndex
System.System.UIntPtr System.unativeint

戻り値

属性

適用対象