Grapheme Structure
Represents the smallest unit of a writing system of any given language.
Definition
Namespace: Avalonia.Media.TextFormatting.Unicode
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public readonly ref struct Grapheme
Public Structure Grapheme
[<SealedAttribute>]
type Grapheme =
struct
inherit ValueType
end
Inheritance | Object → ValueType → Grapheme |
Constructors
Grapheme(Codepoint, Int32, Int32) | Initializes a new instance of the Grapheme class |
Properties
FirstCodepoint | The first 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. |
Methods
Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) |
GetHashCode() | Returns the hash code for this instance. (Inherited from ValueType) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
ToString() | Returns the fully qualified type name of this instance. (Inherited from ValueType) |