TextCollapsingPropertiesCreateCollapsedRuns Method

Creates a list of runs for given collapsed length which includes specified symbol at the end.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static TextRun[] CreateCollapsedRuns(
	TextLine textLine,
	int collapsedLength,
	FlowDirection flowDirection,
	TextRun shapedSymbol
)

Parameters

textLine  TextLine
The text line.
collapsedLength  Int32
The collapsed length.
flowDirection  FlowDirection
The flow direction.
shapedSymbol  TextRun
The symbol.

Return Value

TextRun
List of remaining runs.

See Also