NSLayoutManager.LineFragmentRectForGlyphAtIndex 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性