Struct BidiClass
Represents the Unicode Bidi value of a given CodePoint. https://unicode.org/reports/tr9/#Table
Inherited Members
Namespace: SixLabors.Fonts.Unicode
Assembly: SixLabors.Fonts.dll
Syntax
public readonly struct BidiClass
Constructors
| Edit this page View SourceBidiClass(CodePoint)
Initializes a new instance of the BidiClass struct.
Declaration
public BidiClass(CodePoint codePoint)
Parameters
Type | Name | Description |
---|---|---|
CodePoint | codePoint | The codepoint. |
Properties
| Edit this page View SourceCharacterType
Gets the Unicode Bidirectional character type.
Declaration
public BidiCharacterType CharacterType { get; }
Property Value
Type | Description |
---|---|
BidiCharacterType |
PairedBracketType
Gets the Unicode Bidirectional paired bracket type.
Declaration
public BidiPairedBracketType PairedBracketType { get; }
Property Value
Type | Description |
---|---|
BidiPairedBracketType |
Methods
| Edit this page View SourceTryGetPairedBracket(out CodePoint)
Gets the codepoint representing the bracket pairing for this instance.
Declaration
public bool TryGetPairedBracket(out CodePoint codePoint)
Parameters
Type | Name | Description |
---|---|---|
CodePoint | codePoint | When this method returns, contains the codepoint representing the bracket pairing for this instance;
otherwise, the default value for the type of the |
Returns
Type | Description |
---|---|
bool | true if this instance has a bracket pairing; otherwise, false |