Interface ITextSource
- Namespace
- Avalonia.Media.TextFormatting
- Assembly
- Avalonia.Base.dll
Produces TextRun objects that are used by the TextFormatter.
public interface ITextSource
Methods
GetTextRun(int)
Gets a TextRun for specified text source index.
TextRun? GetTextRun(int textSourceIndex)
Parameters
textSourceIndex
intThe text source index.
Returns
- TextRun
The text run.