TextCollapsingPropertiesCreateCollapsedRuns Method
Creates a list of runs for given collapsed length which includes specified symbol at the end.
Namespace: Avalonia.Media.TextFormattingAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static TextRun[] CreateCollapsedRuns(
TextLine textLine,
int collapsedLength,
FlowDirection flowDirection,
TextRun shapedSymbol
)
Public Shared Function CreateCollapsedRuns (
textLine As TextLine,
collapsedLength As Integer,
flowDirection As FlowDirection,
shapedSymbol As TextRun
) As TextRun()
static member CreateCollapsedRuns :
textLine : TextLine *
collapsedLength : int *
flowDirection : FlowDirection *
shapedSymbol : TextRun -> TextRun[]
- textLine TextLine
- The text line.
- collapsedLength Int32
- The collapsed length.
- flowDirection FlowDirection
- The flow direction.
- shapedSymbol TextRun
- The symbol.
TextRunList of remaining runs.