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