Package com.luciad.text
Class TextBlock.LineBuilder
java.lang.Object
com.luciad.text.TextBlock.LineBuilder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
TextBlock
A class representing a line of text with multiple words with different styles.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
addText
Add UTF8 encoded strings with specific styling options to the line.- Parameters:
utf8String
- text to be added to the current line.style
- styling properties for this piece of text. SeeTextStyle
.- Returns:
- the current line.
-