TextCharacters Class

Summary

A text run that holds text characters.
Namespace
Avalonia.Media.TextFormatting
Base Types
graph BT Type-->Base0["TextRun"] click Base0 "/api/Avalonia.Media.TextFormatting/TextRun" Base0-->Base1["object"] Type["TextCharacters"] class Type type-node

Syntax

public class TextCharacters : TextRun

Constructors

Fields

Name Constant Value Summary
DefaultTextSourceLength
Inherited from TextRun
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.

Methods

Name Value Summary
TryGetRunProperties(ReadOnlySlice<char>, Typeface, Typeface, int) bool
Tries to get run properties.