Contents

CTRunGetGlyphCount(_:)

Gets the glyph count for the run.

Declaration

func CTRunGetGlyphCount(_ run: CTRun) -> CFIndex

Parameters

  • run:

    The run for which to return the glyph count.

Return Value

The number of glyphs that the run contains, or if there are no glyphs in this run, a value of 0.

See Also

Getting Glyph Run Data