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)
- C#
- VB
- F#
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[]
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