Skip to main content

CreateCollapsedRuns 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)

public static TextRun[] CreateCollapsedRuns(
TextLine textLine,
int collapsedLength,
FlowDirection flowDirection,
TextRun shapedSymbol
)

Parameters

  TextLine
The text line.
  Int32
The collapsed length.
  FlowDirection
The flow direction.
  TextRun
The symbol.

Return Value

TextRun[]
List of remaining runs.

See Also

Reference

TextCollapsingProperties Class
Avalonia.Media.TextFormatting Namespace