Codepoint Structure
Definition
Namespace: Avalonia.Media.TextFormatting.Unicode
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public readonly struct Codepoint : IEquatable<Codepoint>
Public Structure Codepoint
Implements IEquatable(Of Codepoint)
[<SealedAttribute>]
type Codepoint =
struct
inherit ValueType
interface IEquatable<Codepoint>
end
| Inheritance | Object → ValueType → Codepoint |
| Implements | IEquatable(Codepoint) |
Constructors
| Codepoint(UInt32) | Creates a new instance of Codepoint with the specified value. |
Properties
| BiDiClass | Gets the BidiClass. |
| EastAsianWidthClass | Gets the EastAsianWidthClass. |
| GeneralCategory | Gets the GeneralCategory. |
| GraphemeBreakClass | Gets the GraphemeBreakClass. |
| IsBreakChar | Determines whether this Codepoint is a break char. |
| IsEastAsian | Determines whether this Codepoint is an east asian char. |
| IsWhiteSpace | Determines whether this Codepoint is white space. |
| LineBreakClass | Gets the LineBreakClass. |
| PairedBracketType | Gets the BidiPairedBracketType. |
| ReplacementCodepoint | The replacement codepoint that is used for non supported values. |
| Script | Gets the Script. |
| Value | Get 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) |