BidiParagraph class final

Bidi information for a single processed paragraph

Implemented types

Properties

direction BidiDirection
The primary direction of this paragraph
no setter
hashCode int
The hash code for this object.
no setterinherited
rangeEnd int
The end index of this paragraph within the source text
no setter
rangeStart int
The start index of this paragraph within the source text
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
The number of bytes in this paragraph
no setter

Methods

levelAt(int pos) int
Get the BIDI level at a particular byte index in this paragraph. This integer is conceptually a unicode_bidi::Level, and can be further inspected using the static methods on Bidi.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reorderLine(int rangeStart, int rangeEnd) String?
Reorder a line based on display order. The ranges are specified relative to the source text and must be contained within this paragraph's range.
setParagraphInText(int n) bool
Given a paragraph index n within the surrounding text, this sets this object to the paragraph at that index. Returns nothing when out of bounds.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited