FormattedTextStyleSpan.

FormattedTextStyleSpan(int, int, IBrush) Constructor

Summary

Initializes a new instance of the FormattedTextStyleSpan class.
Namespace
Avalonia.Media
Containing Type
FormattedTextStyleSpan

Syntax

public FormattedTextStyleSpan(int startIndex, int length, IBrush foregroundBrush = null)

Parameters

Name Type Description
startIndex int The index of the first character in the span.
length int The length of the span.
foregroundBrush IBrush The span's foreground brush.

Return Value

Type Description
void