package
0.0.0-20240927105425-f6cbe64b58da
Repository: https://github.com/gxde-os/golang-gxde-dev.git
Documentation: pkg.go.dev
# Functions
AppendReverse reverses the order of characters of in, appends them to out, and returns the result.
DefaultDirection sets the default direction for a Paragraph.
Lookup returns properties for the first rune in s and the width in bytes of its encoding.
LookupRune returns properties for r.
LookupString returns properties for the first rune in s and the width in bytes of its encoding.
ReverseString reverses the order of characters in s and returns a new string.
# Constants
ArabicLetter.
ArabicNumber.
ParagraphSeparator.
BoundaryNeutral.
Control LRO - PDI.
CommonSeparator.
EuropeanNumber.
EuropeanSeparator.
EuropeanTerminator.
FirstStrongIsolate.
LeftToRight.
LeftToRight indicates the text contains no right-to-left characters and that either there are some left-to-right characters or the option DefaultDirection(LeftToRight) was passed.
LeftToRightEmbedding.
LeftToRightIsolate.
LeftToRightOverride.
Mixed indicates text contains both left-to-right and right-to-left characters.
Neutral means that text contains no left-to-right and right-to-left characters and that no default direction has been set.
NonspacingMark.
OtherNeutral.
PopDirectionalFormat.
PopDirectionalIsolate.
RightToLeft.
RightToLeft indicates the text contains no left-to-right characters and that either there are some right-to-left characters or the option DefaultDirection(RightToLeft) was passed.
RightToLeftEmbedding.
RightToLeftIsolate.
RightToLeftOverride.
SegmentSeparator.
UnicodeVersion is the Unicode version from which the tables in this package are derived.
WhiteSpace.
# Structs
An Ordering holds the computed visual order of runs of a Paragraph.
A Paragraph holds a single Paragraph for Bidi processing.
Properties provides access to BiDi properties of runes.
A Run is a continuous sequence of characters of a single direction.