Skip to main content

Codepoint Structure

Definition

Namespace: Avalonia.Media.TextFormatting.Unicode
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public readonly struct Codepoint : IEquatable<Codepoint>
View Source
InheritanceObjectValueType → Codepoint
ImplementsIEquatable(Codepoint)

Constructors

Codepoint(UInt32)Creates a new instance of Codepoint with the specified value.

Properties

BiDiClassGets the BidiClass.
GeneralCategoryGets the GeneralCategory.
GraphemeBreakClassGets the GraphemeBreakClass.
IsBreakCharDetermines whether this Codepoint is a break char.
IsWhiteSpaceDetermines whether this Codepoint is white space.
LineBreakClassGets the LineBreakClass.
PairedBracketTypeGets the BidiPairedBracketType.
ReplacementCodepointThe replacement codepoint that is used for non supported values.
ScriptGets the Script.
ValueGet the codepoint's value.

Methods

GetType()Gets the Type of the current instance.
(Inherited from Object)
IsInRangeInclusive(Codepoint, UInt32, UInt32)Returns true if cp is between lowerBound and upperBound, inclusive.
ReadAt(ReadOnlySpan(Char), Int32, Int32)Reads the Codepoint at specified position.
TryGetPairedBracket(Codepoint)Gets the codepoint representing the bracket pairing for this instance.

Operators

Implicit(Codepoint to Int32) 
Implicit(Codepoint to UInt32) 

See Also

Reference

Avalonia.Media.TextFormatting.Unicode Namespace