NSLayoutManager.AttachmentSizeForGlyphAtIndex(nuint) Method

Definition

The size of the attachment cell associated with the glyph at the specified index

[Foundation.Export("attachmentSizeForGlyphAtIndex:")]
public virtual CoreGraphics.CGSize AttachmentSizeForGlyphAtIndex (nuint glyphIndex);
abstract member AttachmentSizeForGlyphAtIndex : nuint -> CoreGraphics.CGSize
override this.AttachmentSizeForGlyphAtIndex : nuint -> CoreGraphics.CGSize

Parameters

glyphIndex
System.System.UIntPtr System.unativeint

Returns

The size of attachment cell at the glyph at glyphIndex. Returns {-1.0f, -1.0f} if there is no attachment at the specified glyph.

Attributes

Applies to