Creates an immutable line from the typesetter at a specified line offset.
- iOS 3.2+
- macOS 10.6+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Text
The typesetter that creates the line. This parameter is required and cannot be set to
The string range on which the line is based. If the length portion of range is set to
0, then the typesetter continues to add glyphs to the line until it runs out of characters in the string. The location and length of the range must be within the bounds of the string, or the call will fail.
The line position offset.
A reference to a CTLine object if the call was successful; otherwise,
The resultant line consists of glyphs in the correct visual order, ready to draw.