Returns the list of
TextRect objects for the specified range of code points.
public System.Collections.Generic.IReadOnlyList<TextRect> GetTextRects(
System.int ,
System.int ,
System.bool ,
System.bool
)
'Declaration
Public Function GetTextRects( _
ByVal As System.Integer, _
ByVal As System.Integer, _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Boolean _
) As System.Collections.Generic.IReadOnlyList(Of TextRect)
Parameters
- codePointIndex
- The code point index of the range start.
- codePointCount
- The number of code points in the range.
- withLineGap
- Indicates if the additional spacing before text lines should be included.
- withLineSpacing
- Indicates if the additional spacing after text lines should be included.
Return Value
A read-only list of text rectangles.