|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.text.LineBreaker
public abstract class LineBreaker
Represents a line breaker for text.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
|---|---|
LineBreaker()
|
|
| Method Summary | |
|---|---|
static LineBreaker |
getDefault()
Gets the default line breaker. |
static LineBreaker |
getLatin()
Gets the Latin line breaker. |
TextLineList |
getLines(char[] text,
float width,
float height,
Font font,
float fontSize)
Returns a TextLineList with the text broken into lines. |
TextLineList |
getLines(char[] text,
float width,
Font font,
float fontSize)
Returns a TextLineList with the text broken into lines. |
abstract 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. |
TextLineList |
getLines(char[] text,
int start,
int length,
float width,
Font font,
float fontSize)
Returns a TextLineList with the text broken into lines. |
static LineBreaker |
getUniversal()
Gets the universal line breaker. |
static void |
setDefault(LineBreaker lineBreaker)
Sets the default line breaker. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineBreaker()
| Method Detail |
|---|
public TextLineList getLines(char[] text,
float width,
float height,
Font font,
float fontSize)
TextLineList with the text broken into lines.
text - Text for 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.
TextLineList for the given text.Font,
TextLineList
public TextLineList getLines(char[] text,
float width,
Font font,
float fontSize)
TextLineList with the text broken into lines.
text - Text for the text line list.width - Width 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.
TextLineList for the given text.Font,
TextLineList
public abstract TextLineList getLines(char[] text,
int start,
int length,
float width,
float height,
Font font,
float fontSize)
TextLineList with the text broken
into lines.
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.
TextLineList for the given text.Font,
TextLineList
public TextLineList getLines(char[] text,
int start,
int length,
float width,
Font font,
float fontSize)
TextLineList with the text broken into lines.
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.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.
TextLineList for the given text.Font,
TextLineListpublic static LineBreaker getLatin()
public static LineBreaker getUniversal()
public static void setDefault(LineBreaker lineBreaker)
lineBreaker - The default line breaker.public static LineBreaker getDefault()
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||