Skip to main content

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)

public readonly ref struct Grapheme
View Source
InheritanceObjectValueType → Grapheme

Constructors

Grapheme(Codepoint, Int32, Int32)Initializes a new instance of the Grapheme class

Properties

FirstCodepointThe first Codepoint of the grapheme cluster.
LengthGets the length of this grapheme, in code units.
OffsetGets 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)

See Also

Reference

Avalonia.Media.TextFormatting.Unicode Namespace