Called by the typesetter just prior to storing the actual line fragment rectangle location in the layout manager.
- macOS 10.4+
The rectangle in which the glyphs in
glyphare laid out.
The range of the glyphs to lay out.
The portion of
line, in the NSTextContainer object’s coordinate system, that actually contains glyphs or other marks that are drawn (including the text container’s line fragment padding). The
usedmust be equal to or contained within
The vertical distance in pixels from the line fragment origin to the baseline on which the glyphs align.
Called by the typesetter just prior to calling
set which stores the actual line fragment rectangle location in the layout manager.
A subclass can override this method to customize the text layout process. For example, it could change the shape of the line fragment rectangle. The subclass is responsible for ensuring that the modified rectangle remains valid (for example, that it lies within the text container).