Grapheme Struct
Definition
Represents the smallest unit of a writing system of any given language.
public struct Grapheme
Constructors
| Name | Description |
|---|---|
| Grapheme | No summary available. |
Grapheme Constructor
public Grapheme(Avalonia.Media.TextFormatting.Unicode.Codepoint firstCodepoint, int offset, int length)
Parameters
firstCodepoint Avalonia.Media.TextFormatting.Unicode.Codepoint
offset int
length int
Properties
| Name | Description |
|---|---|
| FirstCodepoint | The first Avalonia.Media.TextFormatting.Unicode.Codepoint of the grapheme cluster. |
| Length | Gets the length of this grapheme, in code units. |
| Offset | Gets the starting code unit offset of this grapheme inside its containing text. |
FirstCodepoint Property
The first Avalonia.Media.TextFormatting.Unicode.Codepoint of the grapheme cluster.
public Avalonia.Media.TextFormatting.Unicode.Codepoint FirstCodepoint { get; set; }
Length Property
Gets the length of this grapheme, in code units.
public int Length { get; set; }
Offset Property
Gets the starting code unit offset of this grapheme inside its containing text.
public int Offset { get; set; }