Interface ITextShaper
- All Superinterfaces:
AutoCloseable
Interface for shaping text. Text shaping is the process of converting a sequence of characters into a sequence of
glyphs, together with the geometry (mainly width) of that glyph sequence.
- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptionShapes a piece of text runs.Methods inherited from interface AutoCloseable
close
-
Method Details
-
shape
Shapes a piece of text runs. Each run must be in the same script and direction.- Parameters:
runs- The text runs to shape.fontSize- The font size.- Returns:
- The shaped text.
-