TextRun Class

Summary

Represents a portion of a TextLine object.
graph BT Type-->Base0["object"] Type["TextRun"] class Type type-node Derived0["TextEndOfLine"]-->Type click Derived0 "/api/Avalonia.Media.TextFormatting/TextEndOfLine" Derived1["DrawableTextRun"]-->Type click Derived1 "/api/Avalonia.Media.TextFormatting/DrawableTextRun" Derived2["TextCharacters"]-->Type click Derived2 "/api/Avalonia.Media.TextFormatting/TextCharacters" Derived3["ShapeableTextCharacters"]-->Type click Derived3 "/api/Avalonia.Media.TextFormatting/ShapeableTextCharacters"

Syntax

[DebuggerTypeProxy(typeof(TextRunDebuggerProxy))]
public abstract class TextRun

Attributes

Type Description
DebuggerTypeProxyAttribute

Fields

Name Constant Value Summary
DefaultTextSourceLength
static

Properties

Name Value Summary
Properties TextRunProperties
A set of properties shared by every characters in the run
Text ReadOnlySlice<char>
Gets the text run's text.
TextSourceLength int
Gets the text source length.