SFontBuilder |
SBook.addFont() |
|
SFontBuilder |
SBook.addFont(SFont src) |
Create a font builder and copy the style from the src style, store inside this book after built,
then you can use SBook.searchFont(FontMatcher) to search and reuse this style.
|
SFontBuilder |
SFontBuilder.boldweight(SFont.Boldweight boldweight) |
Sets the font's bold style.
|
SFontBuilder |
SFontBuilder.color(String color) |
Sets the font's color.
|
SFontBuilder |
SBook.createFont() |
Create a font builder without storing inside this book after built.
|
SFontBuilder |
SBook.createFont(SFont src) |
Create a font builder and copy the style from the src style, store inside this book after built,
then you can use SBook.searchFont(FontMatcher) to search and reuse this style.
|
SFontBuilder |
SFontBuilder.heightPoints(int heightPoints) |
Sets the font's height point.
|
SFontBuilder |
SFontBuilder.italic(boolean italic) |
Sets if the font is italic.
|
SFontBuilder |
SFontBuilder.name(String name) |
Sets the font's name like "Calibri".
|
SFontBuilder |
SFontBuilder.strikeout(boolean strikeout) |
Sets if the font is strike-out.
|
SFontBuilder |
SFontBuilder.typeOffset(SFont.TypeOffset typeOffset) |
Sets the font's type offset.
|
SFontBuilder |
SFontBuilder.underline(SFont.Underline underline) |
Sets the font's underline style.
|