Package io.keikai.model
Interface SFontBuilder
-
- All Superinterfaces:
StyleBuilder<SFont>
- All Known Subinterfaces:
AbstractFontBuilderAdv
- All Known Implementing Classes:
FontBuilderImpl
public interface SFontBuilder extends StyleBuilder<SFont>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SFontBuilderboldweight(SFont.Boldweight boldweight)Sets the font's bold style.SFontBuildercolor(String color)Sets the font's color.SFontBuilderheightPoints(int heightPoints)Sets the font's height point.SFontBuilderitalic(boolean italic)Sets if the font is italic.SFontBuildername(String name)Sets the font's name like "Calibri".SFontBuilderstrikeout(boolean strikeout)Sets if the font is strike-out.SFontBuildertypeOffset(SFont.TypeOffset typeOffset)Sets the font's type offset.SFontBuilderunderline(SFont.Underline underline)Sets the font's underline style.-
Methods inherited from interface io.keikai.model.StyleBuilder
build
-
-
-
-
Method Detail
-
color
SFontBuilder color(String color)
Sets the font's color.
-
name
SFontBuilder name(String name)
Sets the font's name like "Calibri".
-
heightPoints
SFontBuilder heightPoints(int heightPoints)
Sets the font's height point.
-
boldweight
SFontBuilder boldweight(SFont.Boldweight boldweight)
Sets the font's bold style.
-
italic
SFontBuilder italic(boolean italic)
Sets if the font is italic.
-
strikeout
SFontBuilder strikeout(boolean strikeout)
Sets if the font is strike-out.
-
typeOffset
SFontBuilder typeOffset(SFont.TypeOffset typeOffset)
Sets the font's type offset.
-
underline
SFontBuilder underline(SFont.Underline underline)
Sets the font's underline style.
-
-