Contents

cgGlyph(at:)

Returns the glyph at the specified index.

Declaration

func cgGlyph(at glyphIndex: Int) -> CGGlyph

Parameters

  • glyphIndex:

    The index of the glyph that you want. If the index is out of range, this method raises an exception with the error Rangeexception.

Return Value

The glyph at the specified index.

Discussion

Calling this method generates all of the glyphs (as needed) up to and including the glyph at the specified index.

See Also

Accessing glyphs