Table of Contents

Struct ScriptRun

Namespace
DocWright.Core.Text
Assembly
DocWright.Core.dll

One contiguous script/direction run in UTF-16 code units.

public readonly struct ScriptRun : IEquatable<ScriptRun>
Implements
Inherited Members

Constructors

ScriptRun(int, int, UnicodeScript, TextDirection)

Initializes a script run.

Properties

Direction

Gets the resolved direction.

Length

Gets the run length in UTF-16 code units.

Script

Gets the resolved script.

Start

Gets the UTF-16 start index in the source text.

Methods

Equals(ScriptRun)
Equals(object?)
GetHashCode()