Class TextRun
java.lang.Object
de.xima.fc.common.text.shape.TextRun
Represents a single run of text to be shaped. A text run must have a single script and text direction.
-
Constructor Summary
ConstructorsConstructorDescriptionTextRun(String text, String script, EBidiTextDirection textDirection) Creates a new text run. -
Method Summary
-
Constructor Details
-
TextRun
Creates a new text run.- Parameters:
text- The text to be shaped.script- The script of the text. A case-insensitive match for the values as defined by ISO 15924: Code for the Representation of Names of Scripts. See also the Unicode standard.textDirection- The direction of the text, either left-to-right or right-to-left.
-
-
Method Details
-
script
The script of the text. A case-insensitive match for the values as defined by ISO 15924: Code for the Representation of Names of Scripts. See also the Unicode standard.- Returns:
- The script of the text.
-
text
-
textDirection
The direction of the text, either left-to-right or right-to-left.- Returns:
- The direction of the text.
-