Table of Contents

Struct BidiClass

Namespace
SixLabors.Fonts.Unicode
Assembly
SixLabors.Fonts.dll

Represents the Unicode Bidi value of a given CodePoint. https://unicode.org/reports/tr9/#Table

public readonly struct BidiClass
Inherited Members

Constructors

BidiClass(CodePoint)

Initializes a new instance of the BidiClass struct.

public BidiClass(CodePoint codePoint)

Parameters

codePoint CodePoint

The codepoint.

Properties

CharacterType

Gets the Unicode Bidirectional character type.

public BidiCharacterType CharacterType { get; }

Property Value

BidiCharacterType

PairedBracketType

Gets the Unicode Bidirectional paired bracket type.

public BidiPairedBracketType PairedBracketType { get; }

Property Value

BidiPairedBracketType

Methods

TryGetPairedBracket(out CodePoint)

Gets the codepoint representing the bracket pairing for this instance.

public bool TryGetPairedBracket(out CodePoint codePoint)

Parameters

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 codePoint parameter. This parameter is passed uninitialized. .

Returns

bool

true if this instance has a bracket pairing; otherwise, false