CTLineGetStringRange(_:)
Gets the range of characters that originally spawned the glyphs in the line.
Declaration
func CTLineGetStringRange(_ line: CTLine) -> CFRangeParameters
- line:
The line from which to obtain the string range.
Return Value
A CFRange structure that contains the range over the backing store string that spawned the glyphs, or if the function fails for any reason, an empty range.