Associates the given line fragment bounds with the given range of glyphs.
- iOS 7.0+
- macOS 10.0+
- tvOS 9.0+
The rectangle of the line fragment.
The range of glyphs to be associated with
The portion of
fragmentthat actually contains glyphs or other marks that are drawn (including the text container’s line fragment padding. Must be equal to or contained within
In the course of layout, all glyphs should end up being included in a range passed to this method, but only glyphs that start a new line fragment should be at the start of such ranges.
Line fragment rectangles and line fragment used rectangles are always in container coordinates.
This method is used by the layout mechanism and should be invoked only during typesetting, in almost all cases only by the typesetter. For example, a custom typesetter might invoke it.