public class RichTextImpl extends Object implements RichText, Serializable
RichText.Segment| Constructor and Description |
|---|
RichTextImpl(Book book) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSegment(String text,
Font font) |
void |
clearSegments() |
Font |
getFont() |
SRichText |
getNative() |
List<RichText.Segment> |
getSegments() |
String |
getText() |
public RichTextImpl(Book book)
public SRichText getNative()
public List<RichText.Segment> getSegments()
getSegments in interface RichTextpublic void addSegment(String text, Font font)
addSegment in interface RichTextpublic void clearSegments()
clearSegments in interface RichTextCopyright © 2020. All rights reserved.