Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Bidi::UTF16::ParagraphBidiInfo
Inherits
Struct
<
Value
<
Object
Constructors
new
(text :
Array
(
UInt16
), original_classes :
Array
(
BidiClass
), levels :
Array
(
Level
), paragraph_level :
Level
, is_pure_ltr :
Bool
)
Source
new
(text :
Array
(
UInt16
), default_para_level :
Level
|
Nil
= nil) :
ParagraphBidiInfo
Source
new_with_data_source
(data_source :
BidiDataSource
, text :
Array
(
UInt16
), default_para_level :
Level
|
Nil
= nil) :
ParagraphBidiInfo
Source
Class methods
reorder_visual
(levels :
Array
(
Level
)) :
Array
(
Int32
)
Source
Instance methods
direction
Source
has_rtl?
Source
is_pure_ltr
Source
is_pure_ltr=
(is_pure_ltr :
Bool
)
Source
levels
Source
levels=
(levels :
Array
(
Level
))
Source
original_classes
Source
original_classes=
(original_classes :
Array
(
BidiClass
))
Source
paragraph_level
Source
paragraph_level=
(paragraph_level :
Level
)
Source
reorder_line
(line :
Range
(
Int32
,
Int32
)) :
Array
(
UInt16
)
Source
reordered_levels
(line :
Range
(
Int32
,
Int32
)) :
Array
(
Level
)
Source
text
Source
text=
(text :
Array
(
UInt16
))
Source
visual_runs
(line :
Range
(
Int32
,
Int32
)) :
Tuple
(
Array
(
Level
),
Array
(
Range
(
Int32
,
Int32
)))
Source