com.cete.dynamicpdf.text
Class UniversalLineBreaker
java.lang.Object
   com.cete.dynamicpdf.text.LineBreaker
com.cete.dynamicpdf.text.LineBreaker
       com.cete.dynamicpdf.text.UniversalLineBreaker
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
 TextLineListwith 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 TextLineListwith the text broken into lines
 for Latin or CJK text.
 
- 
- Specified by:
- getLinesin 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-- Fontto use for the text of the text line list.
- fontSize- Font size to use for the text of the text line list.
- Returns:
- A TextLineListfor the given text.
- See Also:
- Font,- TextLineList
 
API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019 
 © Copyright 2019, ceTe Software