Table of Contents

Class UnshapedTextRun

Namespace
Avalonia.Media.TextFormatting
Assembly
Avalonia.Base.dll

A group of characters that can be shaped.

public sealed class UnshapedTextRun : TextRun
Inheritance
UnshapedTextRun
Inherited Members

Constructors

UnshapedTextRun(ReadOnlyMemory<char>, TextRunProperties, sbyte)

public UnshapedTextRun(ReadOnlyMemory<char> text, TextRunProperties properties, sbyte biDiLevel)

Parameters

text ReadOnlyMemory<char>
properties TextRunProperties
biDiLevel sbyte

Properties

BidiLevel

public sbyte BidiLevel { get; }

Property Value

sbyte

Length

Gets the text source length.

public override int Length { get; }

Property Value

int

Properties

A set of properties shared by every characters in the run

public override TextRunProperties Properties { get; }

Property Value

TextRunProperties

Text

Gets the text run's text.

public override ReadOnlyMemory<char> Text { get; }

Property Value

ReadOnlyMemory<char>