FormattedTextStyleSpan Class

Summary

Describes the formatting for a span of text in a FormattedText object.
Namespace
Avalonia.Media
Base Types
  • object
graph BT Type-->Base0["object"] Type["FormattedTextStyleSpan"] class Type type-node

Syntax

public class FormattedTextStyleSpan

Constructors

Name Summary
FormattedTextStyleSpan(int, int, IBrush) Initializes a new instance of the FormattedTextStyleSpan class.

Properties

Name Value Summary
ForegroundBrush IBrush
Gets the span's foreground brush.
Length int
Gets the length of the span.
StartIndex int
Gets the index of the first character in the span.