public interface BidiSplitter
| Modifier and Type | Field and Description |
|---|---|
static byte |
LTR |
static byte |
NEUTRAL |
static byte |
RTL |
| Modifier and Type | Method and Description |
|---|---|
int |
countTextRuns()
Count the number of runs, each of which contains text in one visual order only.
|
byte |
getBaseDirection(String paragraph)
Get the base direction of a paragraph.
|
BidiTextRun |
getVisualRun(int runIndex) |
void |
setParagraph(String paragraph,
byte defaultDirection)
Sets the text which is to be split on visual ordering.
|
static final byte LTR
static final byte RTL
static final byte NEUTRAL
void setParagraph(String paragraph, byte defaultDirection)
paragraph - defaultDirection - either LTR or RTLint countTextRuns()
BidiTextRun getVisualRun(int runIndex)
runIndex - from zero to countTextRuns.byte getBaseDirection(String paragraph)
Copyright © 2018. All rights reserved.