Package com.openhtmltopdf.bidi
Class BidiTextRun
java.lang.Object
com.openhtmltopdf.bidi.BidiTextRun
Simple class to hold a visual ordering text run.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte
private final int
private final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
startIndex
private final int startIndex -
length
private final int length -
direction
private final byte direction
-
-
Constructor Details
-
BidiTextRun
public BidiTextRun(int startIndex, int length, byte direction)
-
-
Method Details
-
getStart
public int getStart() -
getLength
public int getLength() -
getDirection
public byte getDirection()- Returns:
- either LTR or RTL.
-