| Modifier and Type | Field and Description |
|---|---|
| public static final byte | |
| public static final byte | |
| public static final byte |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public byte | |
| public BidiTextRun | |
| public void | setParagraph(String paragraph, byte
either LTR or RTL defaultDirection)Sets the text which is to be split on visual ordering. |
| LTR | back to summary |
|---|---|
| public static final byte LTR | |
| NEUTRAL | back to summary |
|---|---|
| public static final byte NEUTRAL | |
| RTL | back to summary |
|---|---|
| public static final byte RTL | |
| countTextRuns | back to summary |
|---|---|
| public int countTextRuns() Count the number of runs, each of which contains text in one visual order only. Can only be called after setParagraph has run the BIDI algorithm. | |
| getBaseDirection | back to summary |
|---|---|
| public byte getBaseDirection(String paragraph) Get the base direction of a paragraph. Defined as the first character that has strong directionality or neutral if they are all neutral characters. | |
| getVisualRun | back to summary |
|---|---|
public BidiTextRun getVisualRun(int runIndex)
| |
| setParagraph | back to summary |
|---|---|
| public void setParagraph(String paragraph, byte defaultDirection) Sets the text which is to be split on visual ordering.
| |