Calculates the image bounds for a glyph range.
- iOS 3.2+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Text
The run for which to calculate the image bounds.
The context for the image bounds being calculated. This is required because the context could have settings in it that would cause changes in the image bounds.
The portion of the run to measure. If the length of the range is set to
0, then the measure operation continues from the start index of the range to the end of the run.
A rectangle that tightly encloses the paths of the run's glyphs, or, if
range is invalid,