Versions in this module Expand all Collapse all v0 v0.0.3 Apr 21, 2023 v0.0.2 Apr 28, 2022 Changes in this version + const AL + const AN + const BN + const BS + const CS + const EN + const ES + const ET + const FSI + const LRE + const LRI + const LRO + const LTR + const NSM + const ON + const PDF + const PDI + const RLE + const RLI + const RLO + const RTL + const SS + const WLTR + const WRTL + const WS + func GetParEmbeddingLevels(bidiTypes []CharType, bracketTypes []BracketType, pbaseDir *ParType) (embeddingLevels []Level, maxLevel Level) + func LogicalToVisual(flags Options, str []rune, paragraphBaseDir *ParType) (Visual, Level) + func Shape(flags Options, embeddingLevels []Level, arabProps []JoiningType, str []rune) + type BracketType uint32 + const NoBracket + func GetBracket(ch rune) BracketType + type CharType uint32 + func GetBidiType(ch rune) CharType + func (p CharType) IsArabic() bool + func (p CharType) IsIsolate() bool + func (p CharType) IsLetter() bool + func (p CharType) IsNumber() bool + func (p CharType) IsRtl() bool + func (p CharType) IsStrong() bool + func (p CharType) IsWeak() bool + func (p CharType) String() string + type JoiningType uint8 + const C + const D + const G + const L + const R + const T + const U + type Level int8 + func ReorderLine(flags Options, bidiTypes []CharType, length, off int, baseDir ParType, ...) Level + type Options int + const DefaultFlags + const ReorderNSM + const ShapeArabConsole + const ShapeArabLiga + const ShapeArabPres + const ShapeMirroring + type ParType = CharType + type Visual struct + EmbeddingLevels []Level + Str []rune + VisualToLogical []int + func (v Visual) LogicalToVisual() []int