Codepoint Struct
Definition
public struct Codepoint
Constructors
| Name | Description |
|---|---|
| Codepoint | Creates a new instance of Avalonia.Media.TextFormatting.Unicode.Codepoint with the specified value. |
Codepoint Constructor
Creates a new instance of Avalonia.Media.TextFormatting.Unicode.Codepoint with the specified value.
public Codepoint(uint value)
Parameters
value uint
The codepoint value.
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| IsInRangeInclusive | Returns if cp is between lowerBound and upperBound, inclusive. |
| ReadAt | No summary available. |
| ToString | No summary available. |
| TryGetPairedBracket | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Media.TextFormatting.Unicode.Codepoint other)
Parameters
other Avalonia.Media.TextFormatting.Unicode.Codepoint
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
IsInRangeInclusive Method
Returns if cp is between
lowerBound and upperBound, inclusive.
public bool IsInRangeInclusive(Avalonia.Media.TextFormatting.Unicode.Codepoint cp, uint lowerBound, uint upperBound)
Parameters
cp Avalonia.Media.TextFormatting.Unicode.Codepoint
lowerBound uint
upperBound uint
Returns
bool
ReadAt Method
public Avalonia.Media.TextFormatting.Unicode.Codepoint ReadAt(ReadOnlySpan<char> text, int index, int& count)
Parameters
text ReadOnlySpan<char>
index int
count int&
Returns
ToString Method
public string ToString()
Returns
string
TryGetPairedBracket Method
public bool TryGetPairedBracket(Avalonia.Media.TextFormatting.Unicode.Codepoint& codepoint)
Parameters
codepoint Avalonia.Media.TextFormatting.Unicode.Codepoint&
Returns
bool
Properties
| Name | Description |
|---|---|
| BiDiClass | Gets the Avalonia.Media.TextFormatting.Unicode.BidiClass. |
| EastAsianWidthClass | Gets the Avalonia.Media.TextFormatting.Unicode.Codepoint.EastAsianWidthClass. |
| GeneralCategory | Gets the Avalonia.Media.TextFormatting.Unicode.GeneralCategory. |
| GraphemeBreakClass | Gets the Avalonia.Media.TextFormatting.Unicode.Codepoint.GraphemeBreakClass. |
| IsBreakChar | Determines whether this Avalonia.Media.TextFormatting.Unicode.Codepoint is a break char. |
| IsEastAsian | Determines whether this Avalonia.Media.TextFormatting.Unicode.Codepoint is an east asian char. |
| IsWhiteSpace | Determines whether this Avalonia.Media.TextFormatting.Unicode.Codepoint is white space. |
| LineBreakClass | Gets the Avalonia.Media.TextFormatting.Unicode.LineBreakClass. |
| PairedBracketType | Gets the Avalonia.Media.TextFormatting.Unicode.BidiPairedBracketType. |
| ReplacementCodepoint | The replacement codepoint that is used for non supported values. |
| Script | Gets the Avalonia.Media.TextFormatting.Unicode.Script. |
| Value | Get the codepoint's value. |
BiDiClass Property
Gets the Avalonia.Media.TextFormatting.Unicode.BidiClass.
public Avalonia.Media.TextFormatting.Unicode.BidiClass BiDiClass { get; set; }
EastAsianWidthClass Property
Gets the Avalonia.Media.TextFormatting.Unicode.Codepoint.EastAsianWidthClass.
public Avalonia.Media.TextFormatting.Unicode.EastAsianWidthClass EastAsianWidthClass { get; set; }
GeneralCategory Property
Gets the Avalonia.Media.TextFormatting.Unicode.GeneralCategory.
public Avalonia.Media.TextFormatting.Unicode.GeneralCategory GeneralCategory { get; set; }
GraphemeBreakClass Property
Gets the Avalonia.Media.TextFormatting.Unicode.Codepoint.GraphemeBreakClass.
public Avalonia.Media.TextFormatting.Unicode.GraphemeBreakClass GraphemeBreakClass { get; set; }
IsBreakChar Property
Determines whether this Avalonia.Media.TextFormatting.Unicode.Codepoint is a break char.
public bool IsBreakChar { get; set; }
Returns
true if [is break character]; otherwise, false.
IsEastAsian Property
Determines whether this Avalonia.Media.TextFormatting.Unicode.Codepoint is an east asian char.
public bool IsEastAsian { get; set; }
Returns
true if [is an east asian character]; otherwise, false.
IsWhiteSpace Property
Determines whether this Avalonia.Media.TextFormatting.Unicode.Codepoint is white space.
public bool IsWhiteSpace { get; set; }
Returns
true if [is whitespace]; otherwise, false.
LineBreakClass Property
Gets the Avalonia.Media.TextFormatting.Unicode.LineBreakClass.
public Avalonia.Media.TextFormatting.Unicode.LineBreakClass LineBreakClass { get; set; }
PairedBracketType Property
Gets the Avalonia.Media.TextFormatting.Unicode.BidiPairedBracketType.
public Avalonia.Media.TextFormatting.Unicode.BidiPairedBracketType PairedBracketType { get; set; }
ReplacementCodepoint Property
The replacement codepoint that is used for non supported values.
public Avalonia.Media.TextFormatting.Unicode.Codepoint ReplacementCodepoint { get; set; }
Script Property
Gets the Avalonia.Media.TextFormatting.Unicode.Script.
public Avalonia.Media.TextFormatting.Unicode.Script Script { get; set; }
Value Property
Get the codepoint's value.
public uint Value { get; set; }