Contents

propertyForGlyph(at:)

Returns the glyph property of the glyph at the specified index.

Declaration

func propertyForGlyph(at glyphIndex: Int) -> NSLayoutManager.GlyphProperty

Parameters

  • glyphIndex:

    The glyph whose glyph property is returned.

Return Value

The glyph property associated with the specified glyph. NSLayoutManager.GlyphProperty lists the values that can be returned.

Discussion

If noncontiguous layout is not enabled, this method causes generation of all glyphs up to and including the one at glyphIndex.

See Also

Accessing glyphs