[]
Returns the list of TextRect objects for the specified range of code points.
public IReadOnlyList<TextRect> GetTextRects(int codePointIndex, int codePointCount, bool withLineGap = false, bool withLineSpacing = false)
Public Function GetTextRects(codePointIndex As Integer, codePointCount As Integer, Optional withLineGap As Boolean = False, Optional withLineSpacing As Boolean = False) As IReadOnlyList(Of TextRect)
| Type | Name | Description |
|---|---|---|
| int | codePointIndex | The code point index of the range start. |
| int | codePointCount | The number of code points in the range. |
| bool | withLineGap | Indicates if the additional spacing before text lines should be included. |
| bool | withLineSpacing | Indicates if the additional spacing after text lines should be included. |
| Type | Description |
|---|---|
| IReadOnlyList<TextRect> | A read-only list of text rectangles. |