com.cete.dynamicpdf.text
Class UniversalLineBreaker
java.lang.Object
com.cete.dynamicpdf.text.LineBreaker
com.cete.dynamicpdf.text.UniversalLineBreaker
public class UniversalLineBreaker
- extends LineBreaker
Represents a universal line breaker.
This line breaker works well for both CJK and many other types of text.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF Generator Professional Edition
- DynamicPDF Generator Enterprise Edition
- DynamicPDF Merger Professional Edition
- DynamicPDF Merger Enterprise Edition
Method Summary |
TextLineList |
getLines(char[] text,
int start,
int length,
float width,
float height,
Font font,
float fontSize)
Returns a TextLineList with the text broken into lines
for Latin or CJK text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniversalLineBreaker
public UniversalLineBreaker()
getLines
public TextLineList getLines(char[] text,
int start,
int length,
float width,
float height,
Font font,
float fontSize)
- Returns a
TextLineList
with the text broken into lines
for Latin or CJK text.
- Specified by:
getLines
in class LineBreaker
- Parameters:
text
- Text for the text line list.start
- Start index for the text of the text line list.length
- Length of the text of the text line list.width
- Width of the text line list.height
- Height of the text line list.font
- Font
to use for the text of the text line list.fontSize
- Font size to use for the text of the text line list.
- Returns:
- A
TextLineList
for the given text. - See Also:
Font
,
TextLineList
API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software