TextBlockHelper class

Constructors

TextBlockHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

combineBetweenTextElement(TextElement startElement, TextElement endElement, List<TextBlock> blocks) List<TextElement>
Return a List of BrsTextElement between startElement and endElement Ex : List
combineLeftTextElement(TextElement startElement, List<TextBlock> blocks) List<TextElement>
Return a List of BrsTextElement with all BrsTextElement to the left of startElement including startElement. Ex : List
combineRecreateTextLine(TextElement startElement, List<TextBlock> blocks) TextLine
Return a BrsTextLine : It's full line by combining left and right all TextElement on the same line of "startElement", including "startElement". Ex :
combineRightTextElement(TextElement startElement, List<TextBlock> blocks) List<TextElement>
Return a List of BrsTextElement with all BrsTextElement to the reight of startElement including startElement. Ex : List
extractTextElementsWithRegex(List<TextElement> textElements, RegExp regExp) List<List<TextElement>>
Return regex result as List<List
nextTextElement(List<TextElement> startElements, List<TextBlock> blocks, HorizontalDirection direction) TextElement?
Return the next BrsTextElement to the left or right of "startElement" Ex :
removeTextElement(List<TextElement> elementList, String text) List<TextElement>
Remove the TextElements from the list corresponding to the text Ex :